up vote 1 down vote favorite
share [g+] share [fb]

I don't know when this started happening but now, every time I cd to a directory it echoes the path right before it changes directories. This happens when I log into a server but doesn't happen on my local machine. The server is running Linux. My local machine is running Mac OS X.

I searched the Google as well as looked at the bash man page but I couldn't find anything. My .bashrc/.bash_profile doesn't have anything related to 'cd' (that I know of).

How do I modify this "feature"?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 3 down vote accepted

The shell auto-echoes because CDPATH is defined as an environment variable. If you UNSET CDPATH the default cd behavior will appear again.

link|improve this answer
It's more than just an echo feature. check out rumour.biology.gatech.edu/Computers/cdpath.shtml – DaveParillo Jan 3 '10 at 0:51
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.