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

37 lines
688 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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 "]0;${USER}@${machine}: `dirs`"'
set prompt = "> "
else
alias cwdcmd 'set prompt = "${USER}@${machine}:${cwd}> "'
endif
cwdcmd
# fix broken prompt after su
alias su 'su \!* ; cwdcmd'
endif