-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command not found : complete when using bash completion #57
Comments
Are you using If you are using You can check to see if
you should see
Then restart your terminal and see if that works. If you get this far and things are still not working, let us know and we'll try to get it figured out. Please include the version of bash, the list of brew packages. |
My bad, I'm using zsh :-( Thanks for your quick answer. |
i don't know how zsh completion works, but it seems like there must be a mechanism. If you'd like to write a completion script, we'd be happy to roll it in. |
zsh have a bash completion script compatibility mode, you need to run :
before sourcing the bash completion file. I have tested it and it works partially (listing the lunchy command is ok but not listing of the plist files). I'll investigate and try to find a solution to have a working completion for ZSH. |
Proposal in #59 |
Add completion for ZSH ( reference #57).
Closed via #59 |
that is cool! |
Is there a workaround for ZSH yet? |
Have you tried the latest? It looks like that has been solved by #3236 (referenced above). Try installing the latest version, follow the zsh completion instructions and see if that works. |
autoload bashcompinit |
For those who were not able to make it work, just paste those two lines in your |
At the end of the zshrc ^^. Putting it on the beginning does not fix the issue |
On top of |
this is the only thing that worked for me. added this to the top of my
|
thx bro! finally works~ |
This for sure worked! |
autoload bashcompinit && bashcompinit |
This doesn't work for me on macOS 14.2. Neither at the top, nor at the bottom of |
Hello,
I have added the code for completion in my .bash_profile file and when I source it, I have the following error :
rvm/gems/ruby-2.0.0-p598/gems/lunchy-0.10.1/lib/../extras/lunchy-completion.bash:18: command not found: complete
Looks like the command used there
lunchy/extras/lunchy-completion.bash
Line 18 in 5640b8a
Thanks for your help.
The text was updated successfully, but these errors were encountered: