Skip to content

Instantly share code, notes, and snippets.

@vortizhe
Forked from afgomez/iterm_profile.sh
Created June 25, 2013 21:47
Show Gist options
  • Save vortizhe/5862736 to your computer and use it in GitHub Desktop.
Save vortizhe/5862736 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Change the iterm2 profile programatically
function iterm_profile {
if [[ -z $1 ]]; then
profile="Default"
else
profile=$1
fi
echo -e "\033]50;SetProfile=$profile\a"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment