zsh: command not found: compdef
dmd opened this issue · 5 comments
dmd commented
Is anyone testing under zsh? I get the below (though I may just not understand something; I'm not a regular zsh user):
[ddrucker@ic-linux7]~% zsh --version
zsh 5.0.2 (x86_64-redhat-linux-gnu)
[ddrucker@ic-linux7]~% . ./goto.sh
./goto.sh:446: command not found: compdef
iridakos commented
Can you please append this to your .zshrc
file:
autoload bashcompinit
bashcompinit
and try again?
dmd commented
No change.
iridakos commented
That's strange 🤔 I can't reproduce it.
dmd commented
Ok, it looks like this is an issue with Red Hat's packaging of zsh. I'll close and anyone who encounters this can refer to that thread.