# ~/.tcshrc

umask 0022
if ( ! $?HOME ) then
     setenv HOME /home/$USER
endif

# "set -f" adds a variable in _front of the list, keep one copy
# "set -l" adds a variable at the end(_last) of the list, keep one copy
#    paths with lower priority than system paths like /bin /sbin,,,

set -f path = ( $path /bin )
set -f path = ( $path /usr/bin )
# set -f path = ( $path /sbin )
# set -f path = ( $path /usr/sbin )
set -f path = ( $path /usr/local/bin )
# set -f path = ( $path /usr/local/sbin )
# set -l path = ( $path /usr/local/ssl/bin )
# set -l path = ( $path /usr/local/samba/bin )
set -l path = ( $path /usr/local/pgsql/bin )
set -l path = ( $path /usr/NX/bin )
# set -l path = ( $path /usr/local/java/bin )
set -l path = ( $path /usr/games )
set -l path = ( $path /usr/X11R6/bin )
set -l path = ( $path $HOME/bin )

# skip remaining setup if not an interactive shell
if ( $?USER == 0 || $?prompt == 0 ) exit

source $HOME/.tcshrc.set
source $HOME/.tcshrc.alias
source $HOME/.tcshrc.bindkey
source $HOME/.tcshrc.complete
source $HOME/.tcshrc.local
