Hans-Peter Jansen wrote:
> ~> env | grep CD
> CDPATH=.:~:/usr:/mnt
>
> That was the culprit. Unsetting it did the trick. Will take the minor loss
> in convenience by jettisoning it.
>
> Such a strong side effect should be documented in bash man file
It's already there:
cd [-L|-P] [dir]
...
If a non-
empty directory name from CDPATH is used, or if - is the first
argument, and the directory change is successful, the absolute
pathname of the new working directory is written to the standard
output.
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]