Subject: total weirdness? "cd dist"
To: None <port-mips@netbsd.org,>
From: Andy Ruhl <acruhl@gmail.com>
List: port-cobalt
Date: 04/02/2007 17:27:52
Can anyone explain this? This doesn't happen on my i386 box. Maybe I'm
just dense and I'm missing something:

root@taz:/root # ls
.cshrc              .klogin             .profile            dmesg.current.out
.cshrc.good         .login              .shrc               pkgpath
.cvspass            .lsof_taz           .ssh
root@taz:/root # cd dist
/usr/src/sys/dist
root@taz:/usr/src/sys/dist # pwd
/usr/src/sys/dist
root@taz:/usr/src/sys/dist # ls
CVS    acpica ipf    pf
root@taz:/usr/src/sys/dist #

What the heck? This works from any directory. I just do "cd dist" as
root, and there I go. I logged out and back in and it still works.

Doesn't work with bash, but does work with tcsh and regular csh. I'm
normally using tcsh. I noticed cd was aliased to something, so I
commented that out and restarted the shell, but still the same
results. Again, this doesn't happen on my i386 machine.

Weird. But then again, it's entirely possible that I'm missing something.

Andy