makandra / geordi

Collection of command line tools used in our daily work with Ruby, Rails and Linux.
https://makandra.com/
MIT License
103 stars 17 forks source link

Disable multi-line autocomplete based on a user setting #203

Closed makmic closed 8 months ago

makmic commented 1 year ago

Hi :wave:

I noticed that the bug fix for https://github.com/makandra/geordi/issues/176 does not in fact disable multi-line autocompletion by default but only for a specific version constraint:

irb_version >= Gem::Version.new('1.2') && ruby_version < Gem::Version.new('3.0')

Personally I really dislike the autocompletion feature and would like geordi to never enable it for the geordi console <environment> command. To get there, I'd either have to modify the ~/.irbrc of every deployment and set IRB.conf[:USE_MULTILINE] = false (not feasible and probably not compatible with other dev's preferences).. or ask you to add a geordi setting :-)

Feature request

What do you think?