composer-autocomplete icon indicating copy to clipboard operation
composer-autocomplete copied to clipboard

Zsh: command not found: complete

Open AhmadWaleed opened this issue 5 years ago • 1 comments

I followed the same installation instructions but after running

$ source ~/.zshrc

getting this error: /home/ahmedwaleed/composer-autocomplete:39: command not found: complete

Inside .zshrc

if [ -f "$HOME/composer-autocomplete" ] ; then
    . $HOME/composer-autocomplete
fi

AhmadWaleed avatar Jun 20 '19 12:06 AhmadWaleed

Thanks for this report @AhmadWaleed. This completion script was designed to work with Bash. It has not been tested with Zsh.

Could you try the steps as described in https://github.com/eddiezane/lunchy/issues/57#issuecomment-121173592?

bramus avatar Jun 21 '19 11:06 bramus