HardenedBSD/etc/root/dot.cshrc
Rodney W. Grimes 81cc481644 Added savehist=1000 as a security feature to know what root has been up to,
added very common set filec.

Added /sys/i386 to be in cdpath so cd conf goes to sys/i386/conf instead of
sys/conf.
1994-01-22 10:58:26 +00:00

28 lines
693 B
Plaintext

alias mail Mail
set history=1000
set savehist=1000
set path=(/sbin /usr/sbin /bin /usr/bin /usr/local/bin .)
# directory stuff: cdpath/cd/back
set cdpath=(/sys{i386,} /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,etc,games,gnu,include,})
alias cd 'set old=$cwd; chdir \!*'
alias h history
alias j jobs -l
alias ll ls -lg
alias ls ls -g -k
alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs'
alias z suspend
alias x exit
alias pd pushd
alias pd2 pushd +2
alias pd3 pushd +3
alias pd4 pushd +4
alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
if ($?prompt) then
set prompt="`hostname -s`# "
set filec
endif
setenv BLOCKSIZE K