mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:46:40 +00:00
Add .pryrc dotfile
This commit is contained in:
11
pryrc
Normal file
11
pryrc
Normal file
@@ -0,0 +1,11 @@
|
||||
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 'f', 'finish'
|
||||
|
||||
# Hit Enter to repeat last command
|
||||
Pry::Commands.command /^$/, 'repeat last command' do
|
||||
_pry_.run_command Pry.history.to_a.last
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user