让你的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 直接生效
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 直接生效
重啟啟動終端即可。
轉載于:https://www.cnblogs.com/guochaoxxl/p/6823135.html
總結
以上是生活随笔為你收集整理的让你的man手册显示与众不同的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: OC-Foundation框架
- 下一篇: 黑马程序员的课程不如兄弟连兄弟会好