completion/pew: use `_command_exists`

pull/1938/head
John D Pell 2021-09-11 18:00:59 -07:00
parent ef0c64322f
commit bb555aefbf
1 changed files with 6 additions and 1 deletions

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