pry/pry — pull request #1032 by DanielleSucher (2013-12-08 00:19:14+00:00)
Title: Add `.cd -` to return to prior working directory

Bash stores your prior working path in $OLDPWD and refers to it when you run `cd -`.

This adds similar functionality to Pry, such that your prior working path is stored in Pry's command state and referred to when you call `.cd -`.

[Finishes #1028]