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:
parent
58bc90332d
commit
c12f7c0e67
1 changed files with 2 additions and 2 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue