Permalink
Browse files

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

  • Loading branch information...
1 parent 58bc903 commit c12f7c0e67a48882a9ffb41588f16993490a7ca4 @banister banister committed Jul 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pry/cli.rb
View
@@ -98,9 +98,9 @@ def parse_options(args=ARGV.dup)
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|

0 comments on commit c12f7c0

Please sign in to comment.