HardenedBSD/share/skel/dot.cshrc
Jordan K. Hubbard 6a9f25ddaa Update these from new examples in etc/root. Also comment out
dot.rhosts entries which are wholly bogus and not worth a search
on.
1995-12-01 08:41:35 +00:00

688 B

#csh .cshrc file
 
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
 
setenv EDITOR vi
setenv PAGER more
setenv BLOCKSIZE K
 
if ($?prompt) then
# An interactive shell -- set some stuff up
 
set noglob; eval `tset -s`; unset noglob
stty -istrip
 
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
 
# customize prompt - works with tcsh only
set machine = `hostname -s`
if ("$TERM" == xterm) then
alias cwdcmd 'echo -n ""'
set prompt = "> "
else
alias cwdcmd 'set prompt = "${USER}@${machine}:${cwd}> "'
endif
cwdcmd
 
# fix broken prompt after su
alias su 'su \!* ; cwdcmd'
endif