Move kubectl init
This commit is contained in:
parent
b6271e122e
commit
c19e79600a
@ -4,5 +4,3 @@
|
||||
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
|
||||
. "$(brew --prefix)/share/bash-completion/bash_completion"
|
||||
fi
|
||||
|
||||
source <(kubectl completion bash)
|
||||
|
||||
10
hellotech/.config/profile/profile.d/hellotech.sh
Normal file
10
hellotech/.config/profile/profile.d/hellotech.sh
Normal file
@ -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
Block a user