mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
[colored-man] squeeze blank lines
Like **man**(1) does by default, use `less -s` as pager to squeeze blank lines.
This commit is contained in:
parent
175b4a8073
commit
b919c73efd
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ man() {
|
||||||
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
|
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
|
||||||
LESS_TERMCAP_ue=$(printf "\e[0m") \
|
LESS_TERMCAP_ue=$(printf "\e[0m") \
|
||||||
LESS_TERMCAP_us=$(printf "\e[1;32m") \
|
LESS_TERMCAP_us=$(printf "\e[1;32m") \
|
||||||
PAGER=/usr/bin/less \
|
PAGER="/usr/bin/less -s" \
|
||||||
_NROFF_U=1 \
|
_NROFF_U=1 \
|
||||||
PATH=${HOME}/bin:${PATH} \
|
PATH=${HOME}/bin:${PATH} \
|
||||||
man "$@"
|
man "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue