Skip to content

Instantly share code, notes, and snippets.

@EyalAr
Created May 25, 2014 05:59
Show Gist options
  • Save EyalAr/22747ffd69d89d095fc4 to your computer and use it in GitHub Desktop.
Save EyalAr/22747ffd69d89d095fc4 to your computer and use it in GitHub Desktop.
Bash prompt format
export PS1='[\[\033[0;95m\]\#\[\033[0m\]][\[\033[0;35m\]\!\[\033[0m\]] \[\033[0;36m\]\u\[\033[0m\]:\[\033[0;32m\]\W\[\033[0m\]\[\033[0;33m\]$(declare -F __git_ps1 &>/dev/null && __git_ps1 ":%s")\[\033[0m\]\[\033[0;31m\]$\[\033[0m\] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment