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

gcloud completion not working #1

Open
desolatorxxl opened this issue Oct 25, 2021 · 0 comments
Open

gcloud completion not working #1

desolatorxxl opened this issue Oct 25, 2021 · 0 comments

Comments

@desolatorxxl
Copy link
Owner

The compdef comment in /usr/share/zsh/site-functions/_gcloud is missing:

# cat /usr/share/zsh/site-functions/_gcloud
autoload -U +X bashcompinit && bashcompinit
zmodload -i zsh/parameter
if ! (( $+functions[compdef] )) ; then
    autoload -U +X compinit && compinit
fi

Should be:

# cat /usr/share/zsh/site-functions/_gcloud
#compdef gcloud
autoload -U +X bashcompinit && bashcompinit
zmodload -i zsh/parameter
if ! (( $+functions[compdef] )) ; then
    autoload -U +X compinit && compinit
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant