From 326083691c31da6d26a55060a71cfbe9b2a8366b Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Sun, 10 Jan 2021 19:27:46 +0530 Subject: [PATCH] formatted help completion and used helper function --- completion/available/helm.completion.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion/available/helm.completion.bash b/completion/available/helm.completion.bash index d0936fab..4e219492 100644 --- a/completion/available/helm.completion.bash +++ b/completion/available/helm.completion.bash @@ -2,7 +2,7 @@ # helm (Kubernetes Package Manager) completion -if command -v helm &>/dev/null +if _command_exists helm then - eval "$(helm completion bash)" + eval "$(helm completion bash)" fi