mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
3e56239d50
The `cd -` command allows a user to toggle between last two scopes. Example: [1] pry(main)> cd :foo [2] pry(:foo):1> cd :bar [3] pry(:bar):2> cd - ^ save :bar and toggle [4] pry(:foo):1> cd 44 ^ we are back at foo [5] pry(44):2> cd .. [6] pry(:foo):1> cd .. [7] pry(main)> cd - ^ save main and toggle [8] pry(:foo):1> ^ we are back at foo Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com> Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com> |
||
---|---|---|
.. | ||
pry | ||
pry.rb |