From b919c73efdb35e7a68095db42064ebe5465ad464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9rian=20Galliat?= Date: Wed, 31 Dec 2014 19:59:58 +0100 Subject: [PATCH] [colored-man] squeeze blank lines Like **man**(1) does by default, use `less -s` as pager to squeeze blank lines. --- plugins/colored-man/colored-man.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/colored-man/colored-man.plugin.zsh b/plugins/colored-man/colored-man.plugin.zsh index 5c613f49d..bf6b061e1 100644 --- a/plugins/colored-man/colored-man.plugin.zsh +++ b/plugins/colored-man/colored-man.plugin.zsh @@ -25,7 +25,7 @@ man() { LESS_TERMCAP_so=$(printf "\e[1;44;33m") \ LESS_TERMCAP_ue=$(printf "\e[0m") \ LESS_TERMCAP_us=$(printf "\e[1;32m") \ - PAGER=/usr/bin/less \ + PAGER="/usr/bin/less -s" \ _NROFF_U=1 \ PATH=${HOME}/bin:${PATH} \ man "$@"