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> |
||
---|---|---|
.. | ||
cd.rb | ||
commands.rb | ||
context.rb | ||
easter_eggs.rb | ||
editing.rb | ||
find_method.rb | ||
gems.rb | ||
help.rb | ||
hist.rb | ||
input_and_output.rb | ||
introspection.rb | ||
ls.rb | ||
misc.rb | ||
navigating_pry.rb |