Zsh-autocomplete: Simplify Customization Options

Created on 16 May 2020  ยท  8Comments  ยท  Source: marlonrichert/zsh-autocomplete

I'm really enjoying this plugin; thanks for your hard work and continued attention!

As a suggestion, it would be nice to simplify the customization options using ENV variables set in a user's .zshrc file (likely before sourcing zsh-autocomplete). Some recommended variable names:

  • Always show group names:
export ZSH_AUTOCOMPLETE_ALWAYS_SHOW_GROUP_NAMES=true
  • Turn off automatic spelling correction:
export ZSH_AUTOCOMPLETE_AUTO_CORRECT_SPELLING=true
  • Use tab to cycle matches:
export ZSH_AUTOCOMPLETE_CYCLE_WITH_TAB=true
  • Use tab and shift-tab to navigate the menu:
export ZSH_AUTOCOMPLETE_NAVIGATE_WITH_TAB=true

I could see the last two conflicting with one another, but that could be called out in the README.md.

All 8 comments

Thank you for your kind praise! ๐Ÿ™‡๐Ÿฝโ€โ™‚๏ธ

About the feature request itself: I will have to think about it. ๐Ÿ™‚

I would love to have the tabbing. I must admit that I fail to adjust my keybinds to your widgets to achieve that... ๐Ÿ™ˆ

@PSalant726 @weilbith @Mallchad @romzie
Starting with 7256aeb, you can configure zsh-autocomplete through Zsh's zstyle mechanism. Please see the Readme for the details.

Does not seem to work for me

Sorry, I somehow managed to commit the new code commented out. ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ

I now pushed it in again, but not commented out this time. Please update and try again.

Awesome. I love it. Thank you so much. :pray:

Works like a charm now, great job, thank you!

Amazing this was also what I was looking for. Thanks for this great piece of work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daxmc99 picture daxmc99  ยท  3Comments

g4cm4n picture g4cm4n  ยท  6Comments

jcassee picture jcassee  ยท  7Comments

weilbith picture weilbith  ยท  8Comments

pcjmfranken picture pcjmfranken  ยท  5Comments