比如Ubuntu系统中,另term=xterm是如下样子
令term=linux是如下样子
这是在哪里哪个脚本控制的?
认证高级PHP讲师
xterm supports 256 colors, while linux term only supports 16 colors, so in
case "$TERM" in xterm-color|*-256color) color_prompt=yes;; esac
In this code, it is judged whether $TERM is xterm or whether it supports 256 colors to decide whether to enable color_promt
xterm supports 256 colors, while linux term only supports 16 colors, so in
In this code, it is judged whether $TERM is xterm or whether it supports 256 colors to decide whether to enable color_promt