bugfix: fix completion sourcing for k8s

pull/8/head
Adam Veldhousen 2021-12-23 01:32:42 -06:00
parent 5594574198
commit a1b43fa82a
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if ! [[ -f "$(which kubectl 2>&1)" ]] && [[ -d "${HOME}/.asdf" ]]; then
fi
if [[ -f "$(which kubectl 2>&1)" ]] && [[ -d "${BASH_COMPLETION_DIR}" ]]; then
source $(kubectl completion bash);
[[ -f "${BASH_COMPLETION_DIR}/kubectl" ]] || kubectl completion bash > "${BASH_COMPLETION_DIR}/kubectl";
fi
# This command is used a LOT both below and in daily life