From f2593ed829717444907679b7a2a4063108cef44d Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Wed, 23 Dec 2020 12:08:44 -0800 Subject: [PATCH] Fix sourcing kubectl completion --- hellotech/.config/profile/profile.d/hellotech.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hellotech/.config/profile/profile.d/hellotech.sh b/hellotech/.config/profile/profile.d/hellotech.sh index b930d52..3c85aa9 100644 --- a/hellotech/.config/profile/profile.d/hellotech.sh +++ b/hellotech/.config/profile/profile.d/hellotech.sh @@ -1,10 +1,10 @@ -#ft=sh -#shellcheck disable=1090,2039 +#shellcheck disable=1090,2039,SC2148 if [ "${BASH_VERSION}" != "" ] && [ "$(ps -p $$ -ocomm=)" != sh ]; then source <(kubectl completion bash) fi if [ "${ZSH_VERSION}" != "" ]; then + autoload -U +X compinit && compinit source <(kubectl completion zsh) fi