#!/bin/tcsh #------------------------------------------------------- # # cshrc file for Common usage # # Please read all the comments below and when requested, # make changes to reflect your system set-up. # # Log # R.Rozumalski January 2009 Added for WRF EMS support #------------------------------------------------------- # # Note that the man page search path is set in the /etc/man.config # setenv EDITOR /usr/bin/vim # # Set the default file protection to be mode 0644 (-rw-r--r--) # umask 002 # # Set the path # set path=( . $HOME/bin /usr/bin /usr/local/bin /usr/X11R6/bin /usr/bin/X11 \ /bin /usr/sbin /sbin /etc ) # Source EMS.cshrc # if (-f /usr1/wrfems/EMS.cshrc) source /usr1/wrfems/EMS.cshrc # Uncomment and modify if run directory something other than default wrfems/runs. # # setenv EMS_RUN # # Various definitions # set filec set cdpath = ( ~ ) set notify set history = 200 set savehist = 200 limit coredumpsize 0 unset limits limit stacksize unlimited # Set a user prompt # set host=`hostname | cut -d"." -f1` set prompt="${USER}@${host}-> " # Set a few aliases # alias dir 'ls -F' alias la 'ls -a' alias ll 'ls -lt' alias lla 'ls -la' alias ls 'ls -CF' alias c clear alias sl ls alias h history alias hh 'history -h' alias . 'echo $cwd' alias .. 'set dot=$cwd;cd ..' alias cd 'set old=$cwd;chdir \!*;pwd' alias lwd 'set lwd=$old;set old=$cwd;cd $lwd; unset lwd '