formatted kontena completion and used helper function

This commit is contained in:
Gurkirat Singh
2021-01-10 19:30:36 +05:30
committed by Noah Gorny
parent 0748b3085e
commit d4bf4e6a89
2 changed files with 6 additions and 1 deletions

View File

@@ -1 +1,5 @@
which kontena > /dev/null && . "$( kontena whoami --bash-completion-path )"
# shellcheck shell=bash
if _command_exists kontena; then
# shellcheck disable=SC1090
source "$(kontena whoami --bash-completion-path)"
fi