Skip to content

Instantly share code, notes, and snippets.

View JasonMillward's full-sized avatar
🐝
I may be slow to respond.

Jason JasonMillward

🐝
I may be slow to respond.
View GitHub Profile
@JasonMillward
JasonMillward / git_svn_bash_prompt.sh
Created October 8, 2012 01:42 — forked from woods/git_svn_bash_prompt.sh
Set color bash prompt according to git/svn branch, and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE: