summaryrefslogtreecommitdiff
path: root/less.sh
blob: 189bbd2c84174c23b3097403e61b9289f9d01283 (plain)
1
2
3
4
5
6
7
8
# 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