thuandt / zsh-pipx

ZSH completions for pipx
GNU General Public License v3.0
6 stars 1 forks source link

Not work without bashcompinit. #1

Open gumikola opened 4 years ago

gumikola commented 4 years ago

Hi.I am using daily oh-my-zsh and observe bug in your plugin with not call autoload bashcompinit. Without this is appear /proc/self/fd/17:32: command not found: complete at run shell and this pipx ru(eval):1: command not found: _bash_complete (eval):1: command not found: _bash_complete (eval):1: command not found: _bash_complete pipx (eval):1: command not found: _bash_complete (eval):1: command not found: _bash_complete (eval):1: command not found: _bash_complete when use pipx.

The solution is add autoload -U +X bashcompinit && bashcompinit before source oh-my-zsh.sh

thuandt commented 4 years ago

I'm using this plugin with zplugin, maybe it enable bashcompinit by default