Permalink
Browse files

Replacing which with command test for better reliablity.

  • Loading branch information...
1 parent 3c70079 commit 5252f69939686b59442fe0cefba36952cfc20fe1 @frederickjh frederickjh committed Mar 30, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 drush.complete.sh
View
@@ -13,7 +13,7 @@
# source /path/to/your/drush.complete.sh
# Ensure drush is available.
-which drush > /dev/null || alias drush &> /dev/null || return
+command -v drush >/dev/null || alias drush &> /dev/null || return
__drush_ps1() {
f="${TMPDIR:-/tmp/}/drush-env-${USER}/drush-drupal-site-$$"

0 comments on commit 5252f69

Please sign in to comment.