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