-
Notifications
You must be signed in to change notification settings - Fork 64
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
Make kubectl-prompt
suitable for use with zsh
#9
Comments
I created PR with POC for helper function |
Thanks @grzesuav, those are some good points. Support for zsh is a reasonable request, and I appreciate the starter PR as well. I will take a look at this when I have time -- hopefully by tomorrow we can have something. |
hi @jordanwilson230 , if sth like this is ok with you I can dig it further :
Any thoughts from your side ? |
@grzesuav That would be terrific and appreciated. I apologize its taken so long, I've been bogged down in work. I'd love to see what you're able to come up with. Thanks! |
+1 to all of this. |
looking for support zsh as well, this is a so cool plugin may save my life in future, never mess up prod env. |
Yeah, if anyone wants to contribute to make this happen, that'd be sweet. |
Just copy the plugins to |
Is your feature request related to a problem? Please describe.
Currently it is impossible to use kubectl-prompt with zsh because :
Describe the solution you'd like
kubectl ()
definition to be both bash and zsh compatibilesource
configuration (from above) in .bash_profile or .zshrc (depending on shell)Additional context
Currently when I extracted configuration to separate file and try to
source
it in zsh I getprobably because different handling of references in zsh (problematic part :
kube=$(which kubectl)
inside a function calledkubectl
)The text was updated successfully, but these errors were encountered: