# /etc/cshrc # System wide environment and startup programs for csh users if ($?PATH) then setenv PATH "${PATH}:/usr/X11R6/bin:/opt/*/bin" else setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/opt/*/bin" endif if ($?prompt) then if ($?tcsh) then set prompt='[%n@%m %c]$ ' else set prompt=\[`id -nu`@`hostname -s`\]\$\ endif endif limit coredumpsize unlimited [ `id -gn` = `id -un` -a `id -u` -gt 14 ] if $status then umask 022 else umask 002 endif setenv HOSTNAME `/bin/hostname` set history=1000 test -d /etc/profile.d if ($status == 0) then set nonomatch foreach i ( /etc/profile.d/*.csh ) test -f $i if ($status == 0) then source $i endif end unset i nonomatch endif