completion/pew: use `_command_exists`
parent
ef0c64322f
commit
bb555aefbf
|
|
@ -1 +1,6 @@
|
|||
[[ -x "$(which pew)" ]] && source "$(pew shell_config)"
|
||||
# shellcheck shell=bash
|
||||
|
||||
if _command_exists pew
|
||||
then
|
||||
source "$(pew shell_config)"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue