Skip to content

Instantly share code, notes, and snippets.

View ohrionmartin's full-sized avatar
🎯
Focusing

Oh Martin ohrionmartin

🎯
Focusing
View GitHub Profile
@Llewellynvdm
Llewellynvdm / .bash_prompt.sh
Last active August 24, 2021 07:02
Pretty Colored 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
# * the fact you just came from Windows and are used to having newlines in
# your prompts.