Skip to content

Instantly share code, notes, and snippets.

@qrohlf
Last active August 29, 2015 14:05
Show Gist options
  • Save qrohlf/be6ecd3e47f8bc6d1bbe to your computer and use it in GitHub Desktop.
Save qrohlf/be6ecd3e47f8bc6d1bbe to your computer and use it in GitHub Desktop.
Instant OSX Terminal Party

Normal Background

. <(curl -s https://raw.githubusercontent.com/qrohlf/dotfiles/master/functions/party.sh) && party

Dark Background

osascript -e "tell application \"Terminal\" to set background color of window 1 to {5000, 5000, 5000}"
. <(curl -s https://raw.githubusercontent.com/qrohlf/dotfiles/master/functions/party.sh) && party

If you don't have Bash 4

osascript -e "tell application \"Terminal\" to set background color of window 1 to {5000, 5000, 5000}"
. /dev/stdin <<< "$(curl -s https://raw.githubusercontent.com/qrohlf/dotfiles/master/functions/party.sh)" && party

Evil

"$(curl -s https://raw.githubusercontent.com/qrohlf/dotfiles/master/functions/party.sh)" >> .bash_profile
echo "party" >> .bash_profile
. .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment