less/less.sh
Ville Skyttä 11bfc57bdf less.sh: Avoid unnecessary stat call
While at it, remove unnecessary executable bits (in git) and shebang
from less.*sh.
2016-03-29 08:37:07 +02:00

5 lines
143 B
Bash

# less initialization script (sh)
if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
fi