From: Michael Prokop Date: Wed, 5 Sep 2007 16:23:33 +0000 (+0200) Subject: /etc/zsh/zshenv: switch direction of check for lesspipe X-Git-Tag: 0.3.23 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=refs%2Ftags%2F0.3.23;p=grml-etc-core.git /etc/zsh/zshenv: switch direction of check for lesspipe --- diff --git a/debian/changelog b/debian/changelog index 7ca00e5..3e865f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-etc-core (0.3.23) unstable; urgency=low + + * /etc/zsh/zshenv: switch direction of check for lesspipe vs. + lesspipe.sh so we use the extended version by default if + it's available. + + -- Michael Prokop Wed, 5 Sep 2007 18:22:57 +0200 + grml-etc-core (0.3.22) unstable; urgency=low [Frank Terbeck] diff --git a/etc/zsh/zshenv b/etc/zsh/zshenv index 85458f9..cbbe4f1 100644 --- a/etc/zsh/zshenv +++ b/etc/zsh/zshenv @@ -73,10 +73,10 @@ # less (:=pager) options: # export LESS=C - if [ -x /usr/bin/lesspipe ] ; then - export LESSOPEN="|lesspipe %s" - elif [ -x /usr/bin/lesspipe.sh ] ; then + if [ -x /usr/bin/lesspipe.sh ] ; then export LESSOPEN="|lesspipe.sh %s" + elif [ -x /usr/bin/lesspipe ] ; then + export LESSOPEN="|lesspipe %s" fi export READNULLCMD=${PAGER:-/usr/bin/pager}