I am a happy user of the cd - command to go to the previous directory. At the same time I like pushd . and popd.
However, when I want to remember the current working directory by means of pushd ., I lose the possibility to go to the previous directory by cd -. (As pushd . also performs cd .).
How can I use pushd to still be able to use cd -
By the way: GNU bash, version 4.1.7(1)

pwdto figure out where you are? – Patrick Feb 21 '12 at 12:39cd -that I want (or expect). I know perfectly well in which directory I am, but I want to increase the speed with which I change directories :) – Bernhard Feb 21 '12 at 12:46pushd .". If you want to remember the current working directory, thats whatpwdis for. – Patrick Feb 21 '12 at 13:49zsh? It has really nice features like AUTO_PUSHD. – jofel Feb 21 '12 at 14:39