Skip to content

Instantly share code, notes, and snippets.

View SteveRyherd's full-sized avatar
💭
I may be slow to respond.

Steve Ryherd SteveRyherd

💭
I may be slow to respond.
View GitHub Profile
@SteveRyherd
SteveRyherd / bash_prompt
Last active December 18, 2015 22:18 — forked from insin/bash_prompt.sh
Adds color, git repository, and virtualenv information to command line 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
# * the fact you just came from Windows and are used to having newlines in
# your prompts.