Created
March 3, 2015 06:55
-
-
Save AaronRutley/8d87b6273974beda3268 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
osascript -e ' | |
set vagrantDir to "project-name-here" | |
set themeName to "theme-name-here" | |
tell app "iTerm" | |
activate | |
tell the first terminal | |
launch session "Git Session" | |
tell the the current session | |
write text "cd ~/Vagrant-local/" & vagrantDir & "/content" | |
write text "git status" | |
end tell | |
end tell | |
tell the first terminal | |
launch session "Grunt Session" | |
tell the the current session | |
write text "cd ~/Vagrant-local/" & vagrantDir & "/content/themes/" & themeName | |
write text "grunt" | |
end tell | |
end tell | |
tell the first terminal | |
launch session "Open Sublime" | |
tell the the current session | |
write text "cd ~/Vagrant-local/" & vagrantDir & "/content/themes/" & themeName | |
write text "stt" | |
end tell | |
end tell | |
end tell | |
' | |
vagrant up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment