less/less.csh

13 lines
317 B
Tcsh
Executable File

# less initialization script (csh)
if ( -x /usr/bin/lesspipe.sh ) then
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
endif
if ( $?LANG ) then
if ( `echo $LANG | cut -b 1-2` == "ja" ) then
setenv JLESSCHARSET japanese
else if ( `echo $LANG | cut -b 1-2` == "ko" ) then
setenv JLESSCHARSET ko
endif
endif