We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
completion display error on zsh,like this
all cmd are spilted by ':'.
my env
[root@kc-2]/tmp# echo $SHELL /bin/zsh [root@kc-2]/tmp# uname -a Linux kc-2 5.4.156-1.el7.elrepo.x86_64 #1 SMP Tue Oct 26 11:19:09 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux [root@kc-2 ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) [root@kc-2]/tmp# zsh --version zsh --version zsh 5.0.2 (x86_64-redhat-linux-gnu)
i just do this:
$ echo "autoload -U compinit; compinit" >> ~/.zshrc $ kcctl completion zsh > "${fpath[1]}/_kcctl"
and open a new terminal.
bytheway it works on bash.
The text was updated successfully, but these errors were encountered:
Hi @lixd. I believe this is due to the older zsh v5.0.2 version. It should not happen with zsh v5.1.
That being said, the next release of Cobra will fix this thanks to #1665.
This problem was also reported here kubernetes/kubernetes#105587 if it helps clarify the situation for you.
If you are able to test with the master branch of Cobra that would confirm that it is indeed fixed. Thanks.
Sorry, something went wrong.
@jpmcb thanks, when I build with the master branch of Cobra, it works.
No branches or pull requests
completion display error on zsh,like this
all cmd are spilted by ':'.
my env
i just do this:
and open a new terminal.
bytheway it works on bash.
The text was updated successfully, but these errors were encountered: