Skip to content
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

zsh: command not found: compdef #33

Closed
dmd opened this issue Mar 14, 2018 · 5 comments
Closed

zsh: command not found: compdef #33

dmd opened this issue Mar 14, 2018 · 5 comments
Labels
can't reproduce ❄️ zsh ⚡ Issues related to zsh support

Comments

@dmd
Copy link
Contributor

dmd commented Mar 14, 2018

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 iridakos added the duplicate ♊ This issue or pull request already exists label Mar 14, 2018
@iridakos
Copy link
Owner

Can you please append this to your .zshrc file:

autoload bashcompinit                                                                                                                                                                                    
bashcompinit

and try again?

@dmd
Copy link
Contributor Author

dmd commented Mar 14, 2018

No change.

iridakos added a commit that referenced this issue Mar 14, 2018
* Add suggestion for zsh missing bashcompinit command. Refs #33
@iridakos
Copy link
Owner

That's strange 🤔 I can't reproduce it.

@iridakos
Copy link
Owner

This thread might help you.

@iridakos iridakos added can't reproduce ❄️ zsh ⚡ Issues related to zsh support and removed duplicate ♊ This issue or pull request already exists labels Mar 14, 2018
@dmd
Copy link
Contributor Author

dmd commented Mar 15, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce ❄️ zsh ⚡ Issues related to zsh support
Projects
None yet
Development

No branches or pull requests

2 participants