This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My pretty prompt: | |
# - Truncates the first few dirs in long paths | |
# - red/green prompt based on return value of previous command | |
# - inserts git branch name if in a repo | |
# Developed primarily for debian/ubunu systems | |
# First, some stuff from the Ubunutu .bashrc | |
# set variable identifying the chroot you work in (used in the prompt below) | |
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then |