umask 002
set path=(. /usr/local/bin /bin \
            /usr/bin /usr/ucb /usr/etc)
alias setprompt 'set prompt="`hostname`:`pwd`"'
set history=100
set savehist=50
set filec
set ignoreof
set EDIT = vi
set EDITOR = vi
set PATH = ($PATH ./)

# Set the default X server:
if ($?DISPLAY == 0) then
    if ($?REMOTEHOST) then
        setenv DISPLAY ${REMOTEHOST}:0.0
    else
        setenv DISPLAY :0.0
    endif
endif

set histdir=`hostname -s`

#source ~/.aliases
alias c clear
alias cp cp -i
alias h history
alias ll ls -pFl
alias ls ls -pFt
alias m more
alias mv mv -i
alias rm rm -i
alias rsh 'remsh'

alias p ' ps -ef | grep -v sobel'
alias p4 a2ps -f -w -nn \!* | lp -daqz4s'
alias p9 a2ps -f -w -nn \!* | lp -opostscript -dbach'
alias setprompt 'set prompt="`hostname`:${cdwd}> "'
alias cd 'chdir \!* && setprompt'\setprompt
setprompt

set autologout=0
