Le vendredi 14 décembre 2007, Hans-Peter Jansen a écrit :
Am Freitag, 14. Dezember 2007 schrieb Jean Delvare:
"cd" doesn't echo anything by itself. Do you have an alias that does it for you maybe?
Unfortunately not:
~> alias cd bash: alias: cd: not found
~> 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.
Ah, I didn't know about this mechanism, thanks for the info ;)
Such a strong side effect should be documented in bash man file, or even better, fixed in code, me thinks.
Well, it works as designed as far as I can tell, so there's probably not much to fix at the bash level. The code that generates the Makefiles could be easily fixed though, by either unsetting CDPATH or redirecting the output of cd to /dev/null. -- Jean Delvare Suse L3 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org