Skip to content

Instantly share code, notes, and snippets.

@rschenk
Created November 15, 2012 17:50
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 rschenk/4080065 to your computer and use it in GitHub Desktop.
Save rschenk/4080065 to your computer and use it in GitHub Desktop.
# Change Terminal Themes
function tabc {
NAME=$1; if [ -z "$NAME" ]; then NAME="Default"; fi
osascript -e "tell application \"Terminal\" to set current settings of front window to settings set \"$NAME\"" > /dev/null 2>&1
}
# Change Terminal Themes When you SSH
function ssh {
tabc "IR_Black_Remote"
/usr/bin/ssh "$@"
tabc "IR_Black"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment