############################################################################# ## ## .tcshrc 01Apr2003, Simos Xenitellis (simos74@gmx.net) ## ## This is the basic new .tcshrc file, part of the TCSHRC project ## at http://tcshrc.sourceforge.net # basic settings for interactive and non-interactive shells # Thanks to Heather Downs for the "set -f -l" flags # "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,,, # Thanks to Spencer White for "if root" condition # "root" environment (basic) if ($LOGNAME == "root") then set -f path = ( $path /sbin ) set -f path = ( $path /usr/sbin ) set -l path = ( $path /usr/local/sbin ) endif # "user" + "root" environment (basic) set -f path = ( $path /bin ) set -f path = ( $path /usr/bin ) set -l path = ( $path /usr/local/bin ) # "user" + "root" environment (misc) set -l path = ( $path /usr/local/ssl/bin ) set -l path = ( $path /usr/local/samba/bin ) set -l path = ( $path /usr/local/java/bin ) set -l path = ( $path /usr/games ) set -l path = ( $path /usr/local/lib/C-Forge ) ######################################################################## # skip remaining setup if not an interactive shell if ($?USER == 0 || $?prompt == 0) exit # settings for interactive shells source $HOME/.tcshrc.set # aliases for interactive shells source $HOME/.tcshrc.alias # bindkeys for interactive shells source $HOME/.tcshrc.bindkey # completions for interactive shells source $HOME/.tcshrc.complete # commands for interactive shells ## FIXME this is an example, shows date and current directory date pwd