Support for pushd. Close #2