Created
June 20, 2016 16:26
-
-
Save jheth/0f92ac04eeb02719f555b4a6438eed59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Turn off the automatic pager | |
Pry.config.pager = false | |
# Make the prompt silly. | |
Pry.config.prompt_name = 'oh no!' | |
# Hit Enter to repeat last command | |
#Pry::Commands.command(/^$/, 'repeat last command') do | |
# _pry_.run_command Pry.history.to_a.last | |
#end | |
# Single letter and pdb like aliases | |
if defined?(PryByebug) | |
Pry.commands.alias_command 'c', 'continue' | |
Pry.commands.alias_command 's', 'step' | |
Pry.commands.alias_command 'n', 'next' | |
Pry.commands.alias_command 'return', 'finish' | |
Pry.commands.alias_command 'r', 'finish' | |
Pry.commands.alias_command 'f', 'finish' | |
Pry.commands.alias_command 'q', 'exit-program' | |
Pry.commands.alias_command 'quit', 'exit-program' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment