Skip to content

Instantly share code, notes, and snippets.

@thewinger
Last active August 29, 2015 14:03
Show Gist options
  • Save thewinger/eb13a26a307e60c204d3 to your computer and use it in GitHub Desktop.
Save thewinger/eb13a26a307e60c204d3 to your computer and use it in GitHub Desktop.
profile file for iTerm2, stored in ~/
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source $GITAWAREPROMPT/main.sh
BLACK=$(tput setaf 0)
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
YELLOW=$(tput setaf 3)
LIME_YELLOW=$(tput setaf 190)
POWDER_BLUE=$(tput setaf 153)
BLUE=$(tput setaf 4)
MAGENTA=$(tput setaf 5)
CYAN=$(tput setaf 6)
export PS1="\[${BLUE}\]\u \[$txtrst\]\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "
export SUDO_PS1="\[$bakred\]\u@\h\[$txtrst\] \w\$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment