mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-07-31 06:04:45 +02:00
add kubectl plugin (#5298)
This commit is contained in:
parent
cfbc4fab04
commit
7888bfa7c1
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