def self.set_config_defaults
config.input = Readline
config.output = $stdout
config.commands = Pry::Commands
config.prompt = DEFAULT_PROMPT
config.print = DEFAULT_PRINT
config.exception_handler = DEFAULT_EXCEPTION_HANDLER
config.exception_whitelist = DEFAULT_EXCEPTION_WHITELIST
config.default_window_size = 5
config.hooks = DEFAULT_HOOKS
config.input_stack = []
config.color = Helpers::BaseHelpers.use_ansi_codes?
config.pager = true
config.system = DEFAULT_SYSTEM
config.editor = default_editor_for_platform
config.should_load_rc = true
config.should_load_local_rc = true
config.should_trap_interrupts = Helpers::BaseHelpers.jruby?
config.disable_auto_reload = false
config.command_prefix = ""
config.auto_indent = Helpers::BaseHelpers.use_ansi_codes?
config.correct_indent = true
config.collision_warning = false
config.gist ||= OpenStruct.new
config.gist.inspecter = proc(&:pretty_inspect)
config.should_load_plugins = true
config.requires ||= []
config.should_load_requires = true
config.history ||= OpenStruct.new
config.history.should_save = true
config.history.should_load = true
config.history.file = File.expand_path("~/.pry_history") rescue nil
if config.history.file.nil?
config.should_load_rc = false
config.history.should_save = false
config.history.should_load = false
end
config.control_d_handler = DEFAULT_CONTROL_D_HANDLER
config.memory_size = 100
config.extra_sticky_locals = {}
config.ls ||= OpenStruct.new({
:heading_color => :default,
:public_method_color => :default,
:private_method_color => :green,
:protected_method_color => :yellow,
:method_missing_color => :bright_red,
:local_var_color => :default,
:pry_var_color => :red,
:instance_var_color => :blue,
:class_var_color => :bright_blue,
:global_var_color => :default,
:builtin_global_color => :cyan,
:pseudo_global_color => :cyan,
:constant_color => :default,
:class_constant_color => :blue,
:exception_constant_color => :magenta,
:unloaded_constant_color => :yellow,
:separator => " ",
:ceiling => [Object, Module, Class]
})
end