Skip to content

Instantly share code, notes, and snippets.

View nickwhitt's full-sized avatar

Nick Whitt nickwhitt

  • Columbus, Ohio, USA
  • 17:12 (UTC -04:00)
View GitHub Profile
@nickwhitt
nickwhitt / prompt.sh
Last active December 18, 2015 10:48 — forked from tobiassjosten/prompt.sh
#export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "
# Configure colors, if available.
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
c_reset='\[\e[0m\]'
c_user='\[\e[1;32m\]'
c_path='\[\e[1;34m\]'
c_git_clean='\[\e[0;37m\]'
c_git_staged='\[\e[0;32m\]'
c_git_unstaged='\[\e[0;31m\]'