Add plugins
This commit is contained in:
parent
2760b6758f
commit
0d1cb319c7
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue