]> arthur.barton.de Git - ax-zsh.git/commitdiff
less: Disable "useful" hints of lesspipe(1)
authorAlexander Barton <alex@barton.de>
Tue, 25 Jun 2019 14:40:52 +0000 (16:40 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 25 Jun 2019 14:40:52 +0000 (16:40 +0200)
See https://github.com/wofr06/lesspipe/issues/21.

default_plugins/less/less.zprofile

index faa26c0a45ba4219700889eeacc9ab1967043b03..1c473e5a4d671709238319d8b5b99759041c2631 100644 (file)
@@ -18,5 +18,7 @@ export LESS_TERMCAP_us=$'\E[01;32m'
 if (( $+commands[lesspipe] )); then
        eval "$(lesspipe)"
 elif (( $+commands[lesspipe.sh] )); then
+       # Silence lesspipe(1), see <https://github.com/wofr06/lesspipe/issues/21>
+       export LESSQUIET=1
        eval "$(lesspipe.sh)"
 fi