Update zshrc

Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
This commit is contained in:
Manuel Vergara 2023-03-20 22:59:04 +01:00
parent 5cc07d7b3d
commit 253448067f

View File

@ -98,13 +98,16 @@ plugins=(
history-substring-search history-substring-search
jsontools jsontools
jump jump
kubectl kubectl
nmap nmap
python
sudo sudo
terraform terraform
vagrant
vagrant-prompt
zsh-autosuggestions zsh-autosuggestions
zsh-syntax-highlighting zsh-syntax-highlighting
z z
) )
source $ZSH/oh-my-zsh.sh 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 [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
autoload -U +X bashcompinit && bashcompinit autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/bin/terraform terraform complete -o nospace -C /usr/bin/terraform terraform
complete -o default -F __start_kubectl k
[[ $commands[kubectl] ]] && source <(kubectl completion zsh)