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