mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-05 09:43:38 +08:00
12 lines
334 B
Bash
12 lines
334 B
Bash
|
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 "$@"
|
||
|
}
|