Skip to content

Instantly share code, notes, and snippets.

View evturn's full-sized avatar
🔒
Loading status...

Evan Turner evturn

🔒
Loading status...
View GitHub Profile
@evturn
evturn / .bash_prompt
Created June 25, 2015 15:12
.bash_prompt.sh
#!/usr/bin/env bash
# Check that terminfo exists before changing TERM var to xterm-256color
# Prevents prompt flashing in Mac OS X 10.6 Terminal.app
if [ -e /usr/share/terminfo/x/xterm-256color ]; then
export TERM='xterm-256color'
fi
# Turn off standout; turn off underline
tput sgr 0 0