-
Notifications
You must be signed in to change notification settings - Fork 23
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 completions #5
Comments
Is https://github.com/asdf-community/asdf-direnv the only way to achieve this? https://cloud.google.com/sdk/docs/configurations#automating_configuration_switching |
Did you find a solution for this in the end? Anything I can help with? |
This is probably a bit late, but you can use the command ~/ $ asdf where gcloud
/home/me/.asdf/installs/gcloud/462.0.0
~/ $ asdf shell gcloud 466.0.0
~/ $ asdf where gcloud
/home/me/.asdf/installs/gcloud/466.0.0 You can then use the following line in your source "$(asdf where gcloud)/completions.zsh.inc" |
Is your feature request related to a problem? Please describe.
GCloud supports shell autocompletions. It outputs the setup at the end of installation. However, the path to the completions changes with each version and is therefore unmaintainable when changing
gcloud
versions across projects.Describe the solution you'd like
asdf-gcloud
should output correct recommendations for sourcing shell completions.Describe alternatives you've considered
NA
Additional context
The text was updated successfully, but these errors were encountered: