Merge pull request #1809 from NoahGorny/cleanup/awless-completions

formatted awless completion and used helper function
pull/1806/head
Noah Gorny 2021-01-28 16:24:33 +02:00 committed by GitHub
commit 2c429e5bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -57,6 +57,7 @@ plugins/available/xterm.plugin.bash
# completions
#
completion/available/awless.completion.bash
completion/available/brew.completion.bash
completion/available/cargo.completion.bash
completion/available/knife.completion.bash

View File

@ -1 +1,5 @@
[[ -x "$(which awless)" ]] && source <(awless completion bash)
# shellcheck shell=bash
if _command_exists awless; then
# shellcheck disable=SC1090
source <(awless completion bash)
fi