Skip to content

Instantly share code, notes, and snippets.

@maxmcd
Last active August 29, 2015 14:14
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 maxmcd/8447b003929cee6bd20a to your computer and use it in GitHub Desktop.
Save maxmcd/8447b003929cee6bd20a to your computer and use it in GitHub Desktop.
# http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
# http://misc.flogisoft.com/bash/tip_colors_and_formatting
# http://stackoverflow.com/questions/17638311/terminal-input-does-not-start-new-line
POWDER_BLUE=$(tput setaf 153)
WEIRD_BLUE=$(tput setaf 30)
WHITE=$(tput setaf 7)
PS1="\[${WEIRD_BLUE}\]\\u:\\w $(__git_ps1 "\[${POWDER_BLUE}\](%s)\[${WEIRD_BLUE}\]")\$ \[${WHITE}\]"
# PS1="\r\n\e[1;32mdave:\w $\e[0;37m "
# PS1="\\u \\w\\$ "
# PS1="\[\e[2m\]\\u \\w $(__git_ps1 "\[${POWDER_BLUE}\](%s)\[\e[2m\]")\$ \[\e[22m\]"
# PS1="\e[2m\\u \\w $(__git_ps1 "(%s)")\$ \e[22m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment