cd echos the new directory path, why?

Topics: User Forum
Aug 9, 2010 at 5:09 PM

How can I get rid of this annoying echoing:

C:/src> cd C:/TMP

Does anybody know?

Aug 9, 2010 at 5:34 PM
Because some folks don't display the path in their prompt so when you use cd - or cd + it is nice to see where you wound up. You can turn this off in your Pscx.UserPreferences.ps1 file. Note that if you aren't using it, copy that file from the PSCX module dir to your home dir. Modify it: CD_EchoNewLocation = $false Then import PSCX like os: Import-Module PSCX -arg ~\Pscx.UserPreferences.ps1
Aug 9, 2010 at 6:03 PM

Thanks. This helped.