Browse Source

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@
OPENBSD_3_7
krw 20 years ago
parent
commit
802d52f7f5
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      src/etc/root/dot.cshrc

+ 1
- 4
src/etc/root/dot.cshrc View File

@ -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 # 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 path=(/sbin /usr/sbin /bin /usr/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)
set filec 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 setenv BLOCKSIZE 1k
alias cd 'set old="$cwd"; chdir \!*' alias cd 'set old="$cwd"; chdir \!*'


Loading…
Cancel
Save