#!/bin/csh
#-----------------------------------------------------------------------
#
#  .cshrc file
#
#-----------------------------------------------------------------------

set systempath = (/usr/X11R6/bin /usr/etc /bin /usr/local/bin )

set path = (. ~/bin ~/local/linux/bin /usr/sbin $systempath)
setenv LOCALLIB  ~/local/linux/lib
setenv LOCALBIN ~/local/linux/bin
setenv LOCALOBJ ~/local/linux/obj
setenv CCOMPILER cc
setenv DEVELOPMENT_HOME $HOME


#  If the shell in non-interactive, then exit
if ($?prompt == 0) exit

#  cd path
 
set lcd = ( )
set cdpath = (.. ~ ~/bin ~/src $lcd)


# c shell variables ----------------------------------------------------

#     filec     -  Enable file name completion
#     fignore   -  Ignore files with these suffixes
#     home      -  Home directory
#     history   -  Size of history list.
#     ignoreeof -  Don't logout if crtl-d is typed in the shell.
#     mail      -  Check for new mail, msgs every 120 seconds (2 min)
#     noclobber -  Prevents unintentional overwrites of files using '>'
#     notify    -  Notify me if mail arrives.
#     prompt    -  System prompt (machine name followed by event number)
#     savehist  -  Number of commands to save from previous session.

set filec ignoreeof noclobber notify
set history = 100 savehist = 100 
set prompt  = "`hostname` $USER ! % " 
set fignore = (.o .aux .dvi .log)
set mail    = (120 /usr/spool/mail/$USER /usr/msgs)

#  aliases for all shells ----------------------------------------------

alias cd	'cd \!*; echo $cwd'
alias ls	/bin/ls -F
alias mv	mv -i
alias pwd 	'echo $cwd'
alias rm	rm -i
alias Rm	/bin/rm
alias h		'history'

umask 002
