#!/bin/bash #You can use this script as a shortcut to ../../../vendor/bin/drush as long as you are in a drupal web directory. #so instead of ../../../vendor/bin/drush updb you can do ldrush updb #this script should be available on the path. curDir=$(/bin/pwd)/ dPath=$(echo $curDir |sed 's:/web/.*::')/vendor/bin/drush if [ -f "$dPath" ]; then $dPath $@ else echo "Couldn't find drush" fi