add kubectl completion
This commit is contained in:
parent
de6ffd9347
commit
ad85172df5
1 changed files with 5 additions and 0 deletions
5
.zshrc
5
.zshrc
|
|
@ -131,3 +131,8 @@ if [ -f '/home/barak/local/google-cloud-sdk/path.zsh.inc' ]; then source '/home/
|
|||
|
||||
# The next line enables shell command completion for gcloud.
|
||||
if [ -f '/home/barak/local/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/barak/local/google-cloud-sdk/completion.zsh.inc'; fi
|
||||
|
||||
# This enables autocomplete for kubectl
|
||||
if [ $commands[kubectl] ]; then
|
||||
source <(kubectl completion zsh)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue