Linux:man命令显示颜色

man命令显示颜色

 


 在.bashrc下添加

export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
source .bashrc

 

posted @ 2017-04-11 09:57  Spiro-k  阅读(720)  评论(0编辑  收藏  举报