less/less.csh

10 lines
231 B
Tcsh
Raw Normal View History

#!/bin/csh
2007-02-07 12:55:35 +00:00
# less initialization script (csh)
if ( -x /usr/bin/lesspipe.sh ) then
if ( $?LESSOPEN && { eval 'test ! -z $LESSOPEN' } ) then
:
2015-08-21 20:16:14 +00:00
else
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
2015-08-21 20:16:14 +00:00
endif
2007-02-07 12:55:35 +00:00
endif