From 81ea5441a96d437ed649e0cb2d1ae5cd9f96be5c Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 5 Sep 2007 18:23:33 +0200 Subject: [PATCH] /etc/zsh/zshenv: switch direction of check for lesspipe --- debian/changelog | 8 ++++++++ etc/zsh/zshenv | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) 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} -- 2.1.4