Move kubectl init
parent
b6271e122e
commit
c19e79600a
@ -0,0 +1,10 @@
|
||||
#ft=sh
|
||||
#shellcheck disable=1090,2039
|
||||
|
||||
if [ "${BASH_VERSION}" != "" ] && [ "$(ps -p $$ -ocomm=)" != sh ]; then
|
||||
source <(kubectl completion bash)
|
||||
fi
|
||||
|
||||
if [ "${ZSH_VERSION}" != "" ]; then
|
||||
source <(kubectl completion zsh)
|
||||
fi
|
Loading…
Reference in New Issue