diff options
author | John Mair <jrmair@gmail.com> | 2011-03-05 01:37:59 +1300 |
---|---|---|
committer | John Mair <jrmair@gmail.com> | 2011-03-05 01:37:59 +1300 |
commit | d299f3be3004d5ccab5e7369380ef5f6863665ed (patch) | |
tree | cd39bae534b6e537d33cbcf665801bab048fd1b8 /bin/pry | |
parent | 52349f552a714977f089f42a7c8cb0ce35a646ff (diff) | |
download | pry-d299f3be3004d5ccab5e7369380ef5f6863665ed.tar.gz |
version 0.6.8pre4, changed Pry::Commands.dup to Pry::Commands.clone due to rubinius bug. Made .pryrc run on ordinary pry sessions (not just command line), still need to complete whereami command
Diffstat (limited to 'bin/pry')
-rw-r--r-- | bin/pry | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -65,10 +65,11 @@ See: `https://github.com/banister` for more information. end end.parse! -rcpath = File.expand_path("~/.pryrc") +# invoked via cli +Pry.cli = true # load ~/.pryrc, if not suppressed with -f option -load rcpath if File.exists?(rcpath) && options[:loadrc] +Pry.should_load_rc = false if !options[:loadrc] # create the actual context context = Pry.binding_for(eval(options[:context_string])) |