Skip to content

Instantly share code, notes, and snippets.

@rodrigopinto
Forked from maurogeorge/.bash_profile
Created February 16, 2012 16:41
Show Gist options
  • Save rodrigopinto/1846330 to your computer and use it in GitHub Desktop.
Save rodrigopinto/1846330 to your computer and use it in GitHub Desktop.
prompt
#Colors
NO_COLOR="\[\e[0m\]"
BLACK="\[\033[0;30m\]"
RED="\[\033[0;31m\]"
GREEN="\[\033[0;32m\]"
YELLOW="\[\033[0;33m\]"
BLUE="\[\033[0;34m\]"
MAGENTA="\[\033[0;35m\]"
CYAN="\[\033[0;36m\]"
WHITE="\[\033[0;37m\]"
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
GIT_STATUS='$(__git_ps1 "(%s)")'
PS1="${BLUE}\u${GREEN}@${CYAN}\h${GREEN}:${RED}\W${YELLOW}${GIT_STATUS}${GREEN}\$${NO_COLOR} "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment