less/less.csh
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

9 lines
222 B
Tcsh

# less initialization script (csh)
if ( -x /usr/bin/lesspipe.sh ) then
if ( $?LESSOPEN && { eval 'test ! -z "$LESSOPEN"' } ) then
:
else
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
endif
endif