Skip to content

Instantly share code, notes, and snippets.

View aconrad's full-sized avatar

Alexandre Conrad-Dormoy aconrad

View GitHub Profile
@aconrad
aconrad / bash_prompt.sh
Last active August 29, 2015 14:05 — forked from insin/bash_prompt.sh
bash_prompt
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * colors optimized for iTerm2 color preset Pastel (Dark Background)
#