Each time I use pushd or popd, it print the stack to standard output. How not to do so?
I don\'t want to do pushd > /dev/null each time because I hav
pushd > /dev/null
In your .profile file (what ever it is called in your system) add:
pushd () { command pushd "$@" > /dev/null } popd () { command popd "$@" > /dev/null } export pushd popd