Created
July 18, 2013 06:36
-
-
Save keepzero/6027130 to your computer and use it in GitHub Desktop.
When terminal not support 256color
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
if [[ $(echo $TERM | grep "rxvt-unicode") != "" ]]; then | |
export TERM=rxvt | |
fi | |
if [ "$TERM"x = "xterm-256color"x ]; then | |
export TERM=xterm | |
fi | |
if [ "$TERM"x = "screen-256color"x ]; then | |
export TERM=screen | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment