Re:Carapace: A multi-shell completion library and binary
by FrozenCow on Tuesday April 23, 2024 @12:15AM
(#40128436)
Completions need to do arbitrary computation. A command like `git switch` needs to find what branches are available in the repository.
[ Parent
| on HN ]
Re:Carapace: A multi-shell completion library and binary
by bbkane on Tuesday April 23, 2024 @12:23AM
(#40128486)
True, but you can represent that in the db as a a CLI invocation to run in a subshell.
The big gain from something like carapace or my theoretical SQLite-based completion system is faster startup time. I had to remove zsh-completions from my shell setup as it added too much to the startup time (https://github.com/bbkane/dotfiles/blob/master/zsh/README_no...)