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