formatted helm completion and used helper function

This commit is contained in:
Gurkirat Singh
2021-01-10 19:27:46 +05:30
committed by Noah Gorny
parent 94a9c639c7
commit 9915f85e8b
2 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,7 @@
#!/usr/bin/env bash
# shellcheck shell=bash
cite "about-completion"
about-completion "helm (Kubernetes Package Manager) completion"
# helm (Kubernetes Package Manager) completion
if command -v helm &>/dev/null
then
eval "$(helm completion bash)"
if _command_exists helm; then
eval "$(helm completion bash)"
fi