Fix errors if pry-nav is unavailable
This commit is contained in:
parent
a6b9f3e9ef
commit
057856d34d
@ -2,9 +2,9 @@
|
||||
Pry.editor = 'vi'
|
||||
|
||||
# == Pry-Nav - Using pry as a debugger ==
|
||||
Pry.commands.alias_command 'c', 'continue'
|
||||
Pry.commands.alias_command 's', 'step'
|
||||
Pry.commands.alias_command 'n', 'next'
|
||||
Pry.commands.alias_command 'c', 'continue' rescue nil
|
||||
Pry.commands.alias_command 's', 'step' rescue nil
|
||||
Pry.commands.alias_command 'n', 'next' rescue nil
|
||||
|
||||
# === CUSTOM PROMPT ===
|
||||
# This prompt shows the ruby version (useful for RVM)
|
||||
|
Loading…
Reference in New Issue
Block a user