Skip to content

Instantly share code, notes, and snippets.

@skwid138
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
Embed
What would you like to do?
#!/bin/bash
# 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"
"Viscosity"
"MySQLWorkbench"
"ClickUp"
"Toggl Track"
"Slack"
"Notes"
"Docker"
)
for app in "${apps[@]}"
do
# 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
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment