less/less.sh
Pavel Raiskup 8e7f15f2e1 LESSOPEN: use '||' syntax again
Related: rhbz#1254837
Version: 481-5
2016-04-25 06:53:44 +02:00

9 lines
253 B
Bash

# 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"
fi