bugfix: fix completion sourcing for k8s

pull/8/head
Adam Veldhousen 2 years ago
parent 5594574198
commit a1b43fa82a
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -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

Loading…
Cancel
Save