Skip to content

Instantly share code, notes, and snippets.

@xinmyname
Last active December 23, 2015 01:18
Show Gist options
  • Select an option

  • Save xinmyname/6559023 to your computer and use it in GitHub Desktop.

Select an option

Save xinmyname/6559023 to your computer and use it in GitHub Desktop.
What could be simpler?
PS1='\[\033]0;${PWD}\007\]\[\033[00m\][${DVCSBRANCH} \[\033[1;32m\]a${INDEXADDED} \[\033[1;33m\]M${FILESMODIFIED} \[\033[1;34m\]D${FILESDELETED} \[\033[1;31m\]?${FILESADDED}\[\033[00m\]] \[\033[0;33m\]m${INDEXMODIFIED} \[\033[0;31m\]d${INDEXDELETED} \[\033[0;35m\]U${FILESUNMERGED} u${INDEXUNMERGED}\[\033[00m\]\n$>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment