From 802d52f7f5e5e503df1349dbc1a5c41804b4deb5 Mon Sep 17 00:00:00 2001 From: krw <> Date: Sun, 13 Feb 2005 00:56:13 +0000 Subject: [PATCH] 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@ --- src/etc/root/dot.cshrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/etc/root/dot.cshrc b/src/etc/root/dot.cshrc index be53599f..48fb8597 100644 --- a/src/etc/root/dot.cshrc +++ b/src/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 \!*'