completion/pew: use _command_exists

This commit is contained in:
John D Pell
2021-09-11 18:00:59 -07:00
parent ef0c64322f
commit bb555aefbf

View File

@@ -1 +1,6 @@
[[ -x "$(which pew)" ]] && source "$(pew shell_config)"
# shellcheck shell=bash
if _command_exists pew
then
source "$(pew shell_config)"
fi