Skip to content
  • Stan Lo's avatar
    9aa18f61
    [ruby/irb] Allow disabling autocompletion with · 9aa18f61
    Stan Lo authored
    `IRB_USE_AUTOCOMPLETE=false`
    (https://github.com/ruby/irb/pull/469)
    
    * Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion
    
    Currently, the only 2 ways to disable autocompletion are:
    
    1. Create `.irbrc` and set `IRB.conf[:USE_AUTOCOMPLETE] = false`
    2. Add the `--noautocomplete` flag when using the `irb` executable
    
    Both of them are less convenient than setting a env var and are
    lesser known to devs.
    
    And given the number of problems the autocompletion has (see #445), I
    think we should allow disabling it with a simple `IRB_USE_AUTOCOMPLETE=false`.
    
    * Mention some env var configs in the README
    9aa18f61
    [ruby/irb] Allow disabling autocompletion with
    Stan Lo authored
    `IRB_USE_AUTOCOMPLETE=false`
    (https://github.com/ruby/irb/pull/469)
    
    * Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion
    
    Currently, the only 2 ways to disable autocompletion are:
    
    1. Create `.irbrc` and set `IRB.conf[:USE_AUTOCOMPLETE] = false`
    2. Add the `--noautocomplete` flag when using the `irb` executable
    
    Both of them are less convenient than setting a env var and are
    lesser known to devs.
    
    And given the number of problems the autocompletion has (see #445), I
    think we should allow disabling it with a simple `IRB_USE_AUTOCOMPLETE=false`.
    
    * Mention some env var configs in the README
Loading