Created
May 26, 2010 18:51
-
-
Save noahd1/414889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR=$(find vendor -name "$1*" -type d -depth 2) | |
if [ "$DIR" = "" ]; then | |
echo "\"$1*\" not found in vendor/gems, vendor/plugins or vendor/garnets" | |
else | |
echo "Opening $DIR" | |
mate $DIR | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment