Merge pull request #26 from ichekrygin/master

Add Fish Shell Completions
This commit is contained in:
Ahmet Alp Balkan 2018-01-18 10:18:04 -08:00 committed by GitHub
commit 2f33693466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

3
completion/kubectx.fish Normal file
View File

@ -0,0 +1,3 @@
# kubectx
complete -f -c kubectx -a "- (kubectl config get-contexts --output='name')"

3
completion/kubens.fish Normal file
View File

@ -0,0 +1,3 @@
# kubens
complete -f -c kubens -a "(kubectl get ns -o=custom-columns=NAME:.metadata.name --no-headers)"