summaryrefslogtreecommitdiff
path: root/etc/root/dot.cshrc
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-02-13 00:56:14 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-02-13 00:56:14 +0000
commitaf6b1bdfb55ad62be32eac3e36a007e267e892e3 (patch)
tree8057d61febfa3d505083e744dbc213eba94543a6 /etc/root/dot.cshrc
parent31d28caac4c32ed9c5a3bff2fd1aef8fb1d4f162 (diff)
Discourage use of the source tree as root by eliminating cdpath in
default .cshrc for root. This also eliminates the need to clear out the dead directories and add new ones. Suggested by miod@. ok miod@ millert@
Diffstat (limited to 'etc/root/dot.cshrc')
-rw-r--r--etc/root/dot.cshrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
index be53599fe10..48fb85973e6 100644
--- a/etc/root/dot.cshrc
+++ b/etc/root/dot.cshrc
@@ -1,4 +1,4 @@
-# $OpenBSD: dot.cshrc,v 1.12 2004/05/10 16:04:07 peter Exp $
+# $OpenBSD: dot.cshrc,v 1.13 2005/02/13 00:56:13 krw Exp $
#
# csh initialization
@@ -8,9 +8,6 @@ set history=1000
set path=(/sbin /usr/sbin /bin /usr/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
set filec
-# directory stuff: cdpath/cd/back
-set cdpath=(/sys /sys/arch /usr/src/{bin,sbin,usr.{bin,sbin},pgrm,lib,libexec,share,contrib,local,devel,games,old,gnu,gnu/{lib,usr.bin,usr.sbin,libexec}})
-
setenv BLOCKSIZE 1k
alias cd 'set old="$cwd"; chdir \!*'