Created
March 12, 2014 15:44
-
-
Save donaldallen/9509497 to your computer and use it in GitHub Desktop.
If you keep all your websites in one directory, this is a pretty handy way to run vagrant up. $ start WebsiteFolderName
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/sh | |
DIRECTORY="/Users/dallen/Sites/GitHub/$1" | |
if [ -d "$DIRECTORY" ]; then | |
cd "$DIRECTORY" && vagrant up | |
else | |
echo "Directory does not exist." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment