# .cshrc file ---- Cshell run control file. # # initial setup file for both interactive and noninteractive C-Shells # # Only add commands between the "### Begin" and "### End" lines of this file. #set up search path and local environment if ! $?LOCALENV then source /opt/proto/localenv setenv LOCALENV endif #setenv LD_LIBRARY_PATH ~/lib setenv LPE_MODULE_PATH ~/lib/lpe setenv COLORTERM gnome-terminal ### Begin - Commands for all shells set noclobber limit coredumpsize 0 umask 077 alias lpe ~/bin/lpe ### End - Commands for all shells if ! $?NPROMPT then set prompt = "%B[%{\033[32m%}aron%{\033[29m%}]%b %B%{\033[31m%}%~%{\033[29m%}#%b " alias ls '~/bin/ls --color -F -A' else set prompt = "#" endif setenv TERMCAP ~/termcap # local commands that are needed for environment set in localenv if -r $HOME/.localalias source $HOME/.localalias # skip remaining setup if not an interactive shell if ($?USER == 0 || $?term == 0 || $?prompt == 0 ) exit if $?TITLEBAR then source $TITLEBAR endif ### Begin - Commands for interactive shells set history=40 set ignoreeof ### End - Commands for interactive shells if -r $HOME/.alias source $HOME/.alias if ( $?tcsh ) then bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward endif ### Project specific .cshrc - Set current project and source its file if -r /opt/proto/cshrc-project source /opt/proto/cshrc-project