Enable kubectl oh-my-zsh plugin for proper completions
This commit is contained in:
parent
13748104a8
commit
93e2d072e0
2 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ plugins=(
|
|||
git
|
||||
encode64
|
||||
gitignore
|
||||
kubectl
|
||||
z
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue