1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

turn Pry.config.collision_warnings back off

This was a horrible mistake, it's stupidly annoying

* in the case of 'rake pry' it warngs every time we do 'cd' (since 'cd' is a top-levle method
  defined by rake)

That's all i can think of right now, but that's still annoying enough.
This commit is contained in:
John Mair 2013-01-16 00:21:44 +01:00
parent 5e3a3f068b
commit 79a4b30b2a

View file

@ -278,7 +278,7 @@ class Pry
config.command_prefix = ""
config.auto_indent = Helpers::BaseHelpers.use_ansi_codes?
config.correct_indent = true
config.collision_warning = true
config.collision_warning = false
config.output_prefix = "=> "
if defined?(Bond) && Readline::VERSION !~ /editline/i