当我启动 gnome-terminal 并执行时echo $TERM,我得到了xterm输出。
echo $TERM
xterm
我希望它是 xterm-256color
xterm-256color
我已经考虑过将解决方案添加'export TERM=xterm256color'到我的.bashrc. 但是我不喜欢这个解决方案,如果我决定切换shell怎么办?我必须在我的新 shell 启动脚本中添加其他导出吗?
'export TERM=xterm256color'
.bashrc
那么在启动 gnome-terminal 时有没有更好的方法来自动拥有 256 色终端?
linux debian terminal gnome
debian ×1
gnome ×1
linux ×1
terminal ×1