less/less.zsh

12 lines
267 B
Bash
Raw Normal View History

2015-08-21 20:16:14 +00:00
#!/bin/zsh
# less initialization script (sh)
if [[ -x /usr/bin/lesspipe.sh ]] ; then
if [[ -z "$LESSOPEN" ]] ; then
export LESSOPEN="/usr/bin/lesspipe.sh %s"
else
export LESSOPEN="$LESSOPEN | /usr/bin/lesspipe.sh %s"
fi
fi
echo $LESSOPEN