Browse Source

add kubectl plugin (#5298)

Patrick Stadler 8 years ago
parent
commit
f19b6b24d3
1 changed files with 7 additions and 0 deletions
  1. 7 0
      plugins/kubectl/kubectl.plugin.zsh

+ 7 - 0
plugins/kubectl/kubectl.plugin.zsh

@@ -0,0 +1,7 @@
+# Autocompletion for kubectl, the command line interface for Kubernetes
+#
+# Author: https://github.com/pstadler
+
+if [ $commands[kubectl] ]; then
+  source <(kubectl completion zsh)
+fi