Last active
February 21, 2017 12:02
-
-
Save Mark24Code/ff7018b9b1b6795145e421e87d10da7c to your computer and use it in GitHub Desktop.
让终端切换到256色(make terminal/xterm to support 256 color)
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
# add to .bashrc | |
# source .bashrc | |
if [ "$TERM" == "xterm" ]; then | |
export TERM=xterm-256color | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment