|
|
|
@ -80,7 +80,7 @@ ZSH_THEME="agnoster"
|
|
|
|
|
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
|
|
|
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
|
|
|
# Add wisely, as too many plugins slow down shell startup.
|
|
|
|
|
plugins=(git)
|
|
|
|
|
plugins=(git kubectl kube-ps1)
|
|
|
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
|
@ -129,4 +129,7 @@ fi
|
|
|
|
|
|
|
|
|
|
# Initialize the autocompletion
|
|
|
|
|
autoload -Uz compinit && compinit -i
|
|
|
|
|
source <(kubectl completion zsh)
|
|
|
|
|
if [[ -z $KUBECTL_COMPLETE ]]; then
|
|
|
|
|
source <(kubectl completion zsh)
|
|
|
|
|
KUBECTL_COMPLETE=1
|
|
|
|
|
fi
|
|
|
|
|