completion/awscli: use _command_exists
This commit is contained in:
@@ -1 +1,6 @@
|
|||||||
[[ -x "$(which aws_completer)" ]] && complete -C "$(which aws_completer)" aws
|
# shellcheck shell=bash
|
||||||
|
|
||||||
|
if _command_exists aws_completer
|
||||||
|
then
|
||||||
|
complete -C "$(command -v aws_completer)" aws
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user