tty終端添加顏色

In ~/.zshrc I have these lines:

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