Re: Suppressing pushd output
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 08/10/2014 01:20 PM, Bob Proulx wrote:
> Tony van der Hoff wrote:
>
>> Unfortunately the pushd/popd generate a lot of (mostly) unwanted
>> output, with no apparent way of suppressing it.
>
> Do you have CDPATH set? If CDPATH is set then there is ambiguity
> over where the cd actually went since it may be one of the CDPATH
> components. If so the shell outputs the directory that was actually
> found.
>
> If you don't need CDPATH then try unsetting it.
Is CDPATH used at all by pushd / popd? I don't see any indication of
that in bash(1), but since cd itself isn't involved here AFAICT,
bringing up CDPATH wouldn't seem to make sense otherwise.
- --
The Wanderer
Secrecy is the beginning of tyranny.
A government exists to serve its citizens, not to control them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCgAGBQJT56zLAAoJEASpNY00KDJraekQAJ6IhEZIZBm3Mkl+oSn/HE9K
tkrlJfBIAraucMseyAsL01pQpFCo/LEUZxJmuJW6Q8rvzKSpf1F3bW2MMHYfifKj
28fof0KL/oGTGJtcifRSlLvgcxKL9MFFw8bAk0W0Hd87Hwpi0kKyjBCR5ErSnaqw
Zo1S/uY3a0xXgp1m77SzSmYFU6kH1aJT1uR8yNUkZzmWKVvQi+uvnamYfDb2sHhA
UVg/cX3au0Xc4baE84JxJ6vaqs6N/Cfbp+hegI7Vpo2xyrxvOKiatD/o4sythVGt
yV/wVg6bmUmABskI+91dc23CFshqo+hbijcSUxEH+mXrq6RLn0Y3SWhLQj84t3bZ
OLSqn/E1x+1Icj4o1irpy1xZyfgLqbtD+USnMiKltdwudhj2At8tAzdRyTXAcIDp
vAnjRbGIiEudlff9fgcZOlNUEQ34IgnQzOHoG8QFmJZZkWWaaMtw3zPHwsxOrmv/
1yA2NUp+IhkmFnTwfiU73hlrwXCOQ/fguMpBspEebu1R6e+zIw5CNn85ulf405fx
vsZbVAMYUhSJEWYCbZHZscyI1sqHfw93C/MMXfn8LulvjDGnx892ZBIBNT506adu
FUXvT36TZhAGQTj1BxaLs+b5wVTBR77Y+gDCDIeXlp2m2oBlwLiDrGPAvuuLBzAH
rr/Ai+PxHdCXcQymeEkt
=KAwD
-----END PGP SIGNATURE-----
Reply to: