Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


% 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
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

Your Answer


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.