Skip to content

Instantly share code, notes, and snippets.

View wagoodman's full-sized avatar
🤓

Alex Goodman wagoodman

🤓
View GitHub Profile
@wagoodman
wagoodman / sexy-minimal.bash
Created June 29, 2017 00:13
Sexy Minimal Bash Prompt theme for bash-it
# Sexy Bash Prompt, inspired by "Extravagant Zsh Prompt"
# Screenshot: http://cloud.gf3.ca/M5rG
# A big thanks to \amethyst on Freenode
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color
elif [[ $TERM != dumb ]] && infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color
fi
if tput setaf 1 &> /dev/null; then
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then