[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:
Valérian Galliat 2014-12-31 19:59:58 +01:00
commit b919c73efd

View file

@ -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 "$@"