tty终端添加颜色

In ~/.zshrc I have these lines:

if [ -n $DISPLAY ];
        then export TERM="xterm-256color"
        else export TERM="linux"
fi
相关文章
相关标签/搜索