mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
add kubectl plugin
This commit is contained in:
parent
ae21102030
commit
02a290f3d8
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…
Add table
Add a link
Reference in a new issue