alacritty/extra/completions
Christian Duerr c89939b5d1
Switch to clap-generated completions
The current completions required a lot of domain-specific knowledge
about each individual shell and their completion functionality. Much of
which is sparsely documented.

While clap does not generate perfect completions, since parameters like
`-e` are missing completions, it does a reasonable job while requiring
no work on writing these completions.

Since access to `cli.rs` isn't possible from the `build.rs`, these
completions aren't always generated on build. Instead a test verifies
that there has been no changes to these completions and provides a
simple code sample for re-generating them. This should provide a simple
solution with minimal overhead.
2021-11-19 23:34:40 +00:00
..
_alacritty Switch to clap-generated completions 2021-11-19 23:34:40 +00:00
alacritty.bash Switch to clap-generated completions 2021-11-19 23:34:40 +00:00
alacritty.fish Switch to clap-generated completions 2021-11-19 23:34:40 +00:00