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
# Sexy Solarized Bash Prompt, inspired by "Extravagant Zsh Prompt" | |
# Customized for the Solarized color scheme by Sean O'Neil | |
# Edited by Caerostris: Fixed for my Ubuntu installation & git version, new prompt | |
# Preview: https://www.dropbox.com/s/p9jaqroqumcoivr/bash_prompt.png | |
export TERM="xterm-256color" | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then TERM=gnome-256color; fi | |
if tput setaf 1 &> /dev/null; then | |
tput sgr0 | |
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then |