Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hyprctl: add shell completions #3535

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ordoviz
Copy link
Contributor

@Ordoviz Ordoviz commented Oct 9, 2023

The Bash, Zsh, and fish completions are generated with complgen from an easy-to-read grammar. Since complgen is an obscure new Rust tool, I didn't make it a build dependency. This means you have to manually install it and run ./build_completions.sh in the completions directory when you edit the grammar.

Feel free to reject this if you don't like complgen.

I didn't test the meson build. The changes are mostly stolen from #275.

@vaxerski
Copy link
Member

I don't like complgen indeed. Obscure and Rust.

is there no way for a reasonable tool to build those? We could employ them into a CI pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants