Created
January 18, 2019 06:37
-
-
Save vainikkaj/f69d530b07b156b33bc5343fe76d6a3a to your computer and use it in GitHub Desktop.
kubens zsh completion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef kubens kns=kubens | |
_arguments "1: :(- $(kubectl get namespaces -o=jsonpath='{range .items[*].metadata.name}{@}{"\n"}{end}'))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment