sigoden/argc-completions: Autocompletion for any shell and any command.

https://github.com/sigoden/argc-completions

Features

  • Support multiple shells: bash/zsh/powershell/fish/nushell/elvish/xonsh
  • Support multiple platforms: windows/macOS/linux
  • Built-in completions for 1000+ commands (full list)
  • Automatically generate completion script from help-text/man-page
  • Lazy completing, lower memory consumption and faster startup time
44 points · 4 comments · view on lemmy.world

4 Comments

NixDev@programming.dev · 4 pts · 2y (3 replies)

Have you used this? Is there any benefits over bash-completion?

Chewy7324@discuss.tchncs.de · 5 pts · 2y (2 replies)

I've not used it yet, but I found bash-completion to be lacking quite often. Completion is one reason I'm using fish atm.

But from the looks of it it's exactly what bash/zsh is missing for me.

cashews_best_nut@lemmy.world · 2 pts · 2y (1 reply)

Have you tried ZShell? I'm consistently amazed at the number of great plugins that get made for it.

Chewy7324@discuss.tchncs.de · 1 pts · 2y

I've used zsh for it's support for posix sh and have my config. But I find fish to be faster with the features I want and it has those features ootb.

Maybe I'll give zsh another try.