completion/awscli: use `_command_exists`
parent
dca96e0c39
commit
699d893bef
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue