mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
add kubectl plugin (#5298)
This commit is contained in:
parent
51c10783e1
commit
f19b6b24d3
1 changed files with 7 additions and 0 deletions
7
plugins/kubectl/kubectl.plugin.zsh
Normal file
7
plugins/kubectl/kubectl.plugin.zsh
Normal file
|
@ -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
|
Loading…
Reference in a new issue