From a50e95a648dfc6dabe6fe1f366429e7ee685e764 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Mon, 23 Oct 2023 00:59:44 +0200 Subject: [PATCH] updates --- zsh/.zshrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index e467afb..1e63253 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,7 @@ +# for kubectl autocomplete +autoload -Uz compinit +compinit + # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH @@ -71,9 +75,10 @@ ZSH_THEME="robbyrussell" # 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=(zsh-autosuggestions kubectl-autocomplete history-substring-search zsh-syntax-highlighting git) - +plugins=(zsh-autosuggestions history-substring-search zsh-syntax-highlighting git) source $ZSH/oh-my-zsh.sh +# for kubectl autocomplete +source <(kubectl completion zsh) # User configuration