原来man手册也可以是彩色的 把pager换成most即可 [bash]sudo apt-get install most #if needed export PAGER=most # man echo[/bash] 效果不错啊 Author Info : From:原来man手册也可以是彩色的 URL:https://blog.ihipop.com/2010/12/1972.html Please Reserve This Link,Thanks! 本作品采用知识共享署名-非商业性使用 3.0 Unported许可协议进行许可。 相关阅读为什么du和df不一致?NTFS文件系统下面建立软连接恩~折腾了2天~被服务器耍了~当文件个数大于N个后,删除目录中比最新文件的修改日期旧M天以上的文件(Win2003+批处理)Windows Server 2003 Resource Kit Tools && Sleep Command
不会再安个软件,在.bashrc/.zshrc里写: 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' 就可以了 回复
效果不错。
@ihipop
用bash应该也一样的。
个人感觉zsh交互方面强很多,补全和菜单等都比较强大。
@osily
我不用zsh,真那么好用吗?看到横多人推荐哦~
不会再安个软件,在.bashrc/.zshrc里写:
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'
就可以了