Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
it-tricks [2017/10/17 09:04] ufal [Other] |
it-tricks [2017/10/17 09:16] belohlavek [Bash] |
||
---|---|---|---|
Line 43: | Line 43: | ||
command grep " | command grep " | ||
fi | fi | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ==== Colorful manpages ==== | ||
+ | Add this to your .bashrc (tested on .zshrc). Colors can be easily customized. | ||
+ | |||
+ | < | ||
+ | man () { | ||
+ | env LESS_TERMCAP_mb=$' | ||
+ | LESS_TERMCAP_md=$' | ||
+ | LESS_TERMCAP_me=$' | ||
+ | LESS_TERMCAP_se=$' | ||
+ | LESS_TERMCAP_so=$' | ||
+ | LESS_TERMCAP_ue=$' | ||
+ | LESS_TERMCAP_us=$' | ||
+ | man " | ||
} | } | ||
</ | </ |