Skip to content

Instantly share code, notes, and snippets.

@ericholscher
Created December 11, 2012 18:58
Show Gist options
  • Save ericholscher/4261047 to your computer and use it in GitHub Desktop.
Save ericholscher/4261047 to your computer and use it in GitHub Desktop.

Bash:

export PS1="<\[\033[0;32m\]\h\[\033[0m\]:\[\033[0;37m\]\u\[\033[0m\]> \w \[\033[0;36m\]\$(vcprompt)\[\033[0m\]\n-> "

Requires:

  • vcprompt

Output:

<Bahamut:eric> ~/Work/http-api-common [git:update-credentials]
-> ls

Screenshot:

http://dl.dropbox.com/u/372293/Screenshots/e1sj_1~3n8ut.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment