Search code examples
ruby-on-railsrubyprypry-rails

How to disable Pry autocomplete?


I would like to disable autocomplete in Pry. How to do it?

I'm using it in Rails console(from Emacs/inf-ruby) and it is very slow and annoying in my legacy app.

Related question: Disable irb autocomplete


Solution

  • Add the following line to your .pryrc config file:

    Pry.config.completer = nil
    

    Default value is Pry::InputCompleter

    Or you can just launch your console with --noautocomplete option.

    Source @ github.com