Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #add to .bashrc or .zshrc to give manpages some colours
- ------------------------------------------------------
- man() {
- env \
- LESS_TERMCAP_mb=$(printf "\e[1;31m") \
- LESS_TERMCAP_md=$(printf "\e[1;31m") \
- LESS_TERMCAP_me=$(printf "\e[0m") \
- LESS_TERMCAP_se=$(printf "\e[0m") \
- LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
- LESS_TERMCAP_ue=$(printf "\e[0m") \
- LESS_TERMCAP_us=$(printf "\e[1;32m") \
- man "$@"
- }
- ------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement