X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshenv;h=cbbe4f14e33ba4b11f5f601302b6dd5cb28498d2;hb=refs%2Ftags%2F0.3.24;hp=85458f9e0e0263cc707f87e457cfddc868a93352;hpb=11d5da0a5489710e573b9ba7924416e71125cfe6;p=grml-etc-core.git 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}