Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

sounds like cwdcmd is set (man tcsh):

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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