How to disable Pry autocomplete?
Asked Answered
A

1

1

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

Arse answered 13/5, 2022 at 15:53 Comment(0)
A
1

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

Arse answered 13/5, 2022 at 15:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.