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/
|
||||
# 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
|
||||
|
|
Loading…
Add table
Reference in a new issue