diff --git a/files/zshrc b/files/zshrc index 1c0f102..cca9b72 100644 --- a/files/zshrc +++ b/files/zshrc @@ -98,13 +98,16 @@ plugins=( history-substring-search jsontools jump - kubectl + kubectl nmap + python sudo terraform + vagrant + vagrant-prompt zsh-autosuggestions zsh-syntax-highlighting - z + z ) source $ZSH/oh-my-zsh.sh @@ -179,4 +182,8 @@ export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh autoload -U +X bashcompinit && bashcompinit + complete -o nospace -C /usr/bin/terraform terraform + +complete -o default -F __start_kubectl k +[[ $commands[kubectl] ]] && source <(kubectl completion zsh)