Skip to content
This repository
Browse code

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

  • Loading branch information...
commit c12f7c0e67a48882a9ffb41588f16993490a7ca4 1 parent 58bc903
John Mair banister authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/pry/cli.rb
4 lib/pry/cli.rb
@@ -98,9 +98,9 @@ def parse_options(args=ARGV.dup)
98 98 Pry.color = false
99 99 end
100 100
101   - on :f, "Suppress loading of ~/.pryrc" do
102   - # load ~/.pryrc, if not suppressed with -f option
  101 + on :f, "Suppress loading of ~/.pryrc and ./.pryrc" do
103 102 Pry.config.should_load_rc = false
  103 + Pry.config.should_load_local_rc = false
104 104 end
105 105
106 106 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.
Something went wrong with that request. Please try again.