0

I have an annoying problem when using Screen on my SLED10 machine. When changing directory (cd, chdir, pushd/popd) the resulting path is echoed in the terminal.

user@/home/user> cd ..
Directory: /home
user@/home> 

This problem only seem to exist in Screen. I have checked my prompt and it does not contain anything related to this behavior. I am using tcsh/xterm.

How do I get rid of the echo of the directory?!

Best Regards, Stefan

Drew Stephens
  • 17,207
  • 15
  • 66
  • 82
qstebom
  • 719
  • 4
  • 12
  • Does it behave the same in sh, bash? Try to search string 'Directory: ' in configuration files (in /etc and home directories). – hluk Sep 23 '10 at 16:09

1 Answers1

0

Maybe cd has been overridden with an alias or a function.

Once in screen, use:
alias cd to see if there is an alias and
declare -f to check your functions.

dogbane
  • 266,786
  • 75
  • 396
  • 414