diff options
Diffstat (limited to 'composer-bash-completion')
-rw-r--r-- | composer-bash-completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer-bash-completion b/composer-bash-completion index 6b3d1ea..70daf6d 100644 --- a/composer-bash-completion +++ b/composer-bash-completion @@ -17,7 +17,7 @@ _sf_composer() { sf_cmd=$(type -p $sf_cmd) fi - if [ ! -f "$sf_cmd" ]; then + if [ ! -x "$sf_cmd" ]; then return 1 fi |