Skip to content

Instantly share code, notes, and snippets.

@mattborn
Created February 25, 2014 22:27
Show Gist options
  • Save mattborn/9219264 to your computer and use it in GitHub Desktop.
Save mattborn/9219264 to your computer and use it in GitHub Desktop.
Automating opening apps for work
#!/bin/bash
apps=( Tunnelblick Calendar Evernote Hall Messages SourceTree Spotify Sublime\ Text\ 2 )
for app in "${apps[@]}"
do
echo Opening "$app".
open /Applications/"$app".app
done
echo Opening Chrome with tabs.
open /Applications/Google\ Chrome.app --args mail.google.com projects.invisionapp.com github.com/mattborn
# Requires http://harishnarayanan.org/projects/shpotify
spotify play
echo Mounting Encrypted Volume.
hdiutil attach ~/Secure/Volume.dmg
echo Loading Vagrant.
cd ~/Code/vagrant-instance; vagrant up; vagrant ssh
# Won't show until vagrant is shut down.
echo Complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment