Skip to content

Instantly share code, notes, and snippets.

@skwid138
Last active May 25, 2021 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skwid138/bd214e5fa3fe3c3f299aa66f2e1fb55d to your computer and use it in GitHub Desktop.
Save skwid138/bd214e5fa3fe3c3f299aa66f2e1fb55d to your computer and use it in GitHub Desktop.
#!/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