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

ensure that -f turns off local ./.pryrc loading too

This commit is contained in:
John Mair 2012-07-13 14:23:46 +12:00
parent 58bc90332d
commit c12f7c0e67

View file

@ -98,9 +98,9 @@ Copyright (c) 2011 John Mair (banisterfiend)
Pry.color = false
end
on :f, "Suppress loading of ~/.pryrc" do
# load ~/.pryrc, if not suppressed with -f option
on :f, "Suppress loading of ~/.pryrc and ./.pryrc" do
Pry.config.should_load_rc = false
Pry.config.should_load_local_rc = false
end
on :s, "select-plugin", "Only load specified plugin (and no others).", :argument => true do |plugin_name|