Skip to content

Instantly share code, notes, and snippets.

Last active May 25, 2021 15:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
# Open Apps used when doing development
# Could also include "iTerm" if the script is set to run automatically
# As it is now it would likely be run from iTerm
declare -a apps=("JetBrains Toolbox"
"Toggl Track"
for app in "${apps[@]}"
# The -a flag tells it to look in /Applications; otherwise a full path may be specified
# In testing the case does not seem to matter, but the above casing matches what is in /Applications
# If an app is already open, the app will be pulled to the front of the screen
open -a $app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment