summaryrefslogtreecommitdiffstats
path: root/etc/root
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-01-22 10:58:26 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-01-22 10:58:26 +0000
commitf170b381d09d26fbf27e4982866cd073c472e717 (patch)
tree4c793e1614017ba6b2afd38a457cb1d5ba890961 /etc/root
parent941cae5887a911da5af00a634c39a31a0f754457 (diff)
downloadFreeBSD-src-f170b381d09d26fbf27e4982866cd073c472e717.zip
FreeBSD-src-f170b381d09d26fbf27e4982866cd073c472e717.tar.gz
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.
Diffstat (limited to 'etc/root')
-rw-r--r--etc/root/dot.cshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
index d6f0495..1c848a2 100644
--- a/etc/root/dot.cshrc
+++ b/etc/root/dot.cshrc
@@ -1,9 +1,10 @@
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 /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,etc,games,gnu,include,})
+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
@@ -21,5 +22,6 @@ alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars
if ($?prompt) then
set prompt="`hostname -s`# "
+ set filec
endif
setenv BLOCKSIZE K
OpenPOWER on IntegriCloud