17 Dec
2007
17 Dec
'07
09:38
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: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org