Skip to content

Instantly share code, notes, and snippets.

View jcook793's full-sized avatar
💾
Curently Alive

John Cook jcook793

💾
Curently Alive
View GitHub Profile
@jcook793
jcook793 / bash_prompt.sh
Created April 15, 2012 17:57 — forked from insin/bash_prompt.sh
Set color bash prompt according to active virtualenv, mercurial branch and return status of last command.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current mercurial repository
# * the return value of the previous command
#
# USAGE: