Someone in IT thought it would be a good idea to modify the default behavior of the command cd in our tcsh environment. As of Monday the "upgraded" version of cd always prints out $PWD after it navigates to the new directory.

e.g.

% cd ~/
Directory: /nfs/pdx/home/rbroger1

which cd yields no results so it isn't being alias'd.

Is there some environment variable or normal tcsh variable that is being set in our setup scripts to produce this output? I don't want to change all my scripts to use a wrappered or alias'd cd. I just want plain ol' cd.

link|improve this question

78% accept rate
feedback

1 Answer

up vote 2 down vote accepted

sounds like cwdcmd is set (man tcsh):

Runs after every change of working directory. 
link|improve this answer
That was it. Thanks. – Ross Rogers Apr 27 '10 at 16:33
feedback

Your Answer

 
or
required, but never shown

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