summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 1bc434ca..5d7bc204 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -185,6 +185,11 @@ then
   fi
 fi
 
+if [[ $commands[kubectl] ]]
+then
+  source <(kubectl completion zsh)
+fi
+
 if [[ $TERM == "dumb" ]]
 then
   unsetopt zle