less/less.sh

9 lines
253 B
Bash
Raw Normal View History

2007-02-07 12:55:35 +00:00
# less initialization script (sh)
# All less.*sh files should have the same semantics!
if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then
# The '||' here is intentional, see rhbz#1254837.
export LESSOPEN="||/usr/bin/lesspipe.sh %s"
2015-08-21 20:16:14 +00:00
fi