less/less.sh
Pavel Raiskup 32b553bce3 less.csh: avoid unnecessary stat() call
Resolves: #1321591
Version: 481-3
2016-03-29 15:38:13 +02:00

8 lines
198 B
Bash

# less initialization script (sh)
# All less.*sh files should have the same semantics!
if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
fi