Enable kubectl oh-my-zsh plugin for proper completions

This commit is contained in:
Viktor Barzin 2026-01-18 16:49:23 +00:00 committed by Viktor Barzin
parent 73b2f6bf60
commit 893d5e96cf
2 changed files with 2 additions and 5 deletions

View file

@ -1,10 +1,6 @@
# Kubectl configuration
# Auto-loaded by oh-my-zsh from $ZSH_CUSTOM/tools/
# Note: This must run after compinit, which oh-my-zsh handles
if command -v kubectl >/dev/null 2>&1; then
source <(kubectl completion zsh)
fi
# Note: Completions are handled by the kubectl plugin in .zshrc
# Load golang path if exists
[[ -f /etc/profile.d/golang_path.sh ]] && source /etc/profile.d/golang_path.sh

View file

@ -39,6 +39,7 @@ plugins=(
git
encode64
gitignore
kubectl
z
)