Last active
June 18, 2018 08:15
Star
You must be signed in to star a gist
Open desire folder and dev tools on startup
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
tell application "<APP_NAME>" to activate | |
tell application "<APP_NAME>" to activate | |
tell application "<APP_NAME>" to activate | |
# Change 'defaultFolder' to your 'Projects' folder. | |
set defaultFolder to alias "<PATH:TO:FOLDER:>" # Use ':' instead of '/' | |
set projectFolder to (choose folder with prompt "Select project folder" default location defaultFolder) | |
set projectFolder to POSIX path of projectFolder | |
tell application "Terminal" | |
# Change 'code' for 'sublime' or any text editor. | |
do script "cd " & projectFolder & " && git pull && code . && history -c" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment