Shell completion for commands and game titles

Would be nice to have shell completion for eidolon. If possibly including game titles.

Not sure how hard it is to implement and whether your think it's necessary at all.

Games can be run via shell like this:

eidolon run "$(eidolon list | fzf | cut -d- -f2)"

rustup can be referenced here, that's how I get its completions in my .rc, for example:

source <(rustup completions zsh) 2&>/dev/null
Assigned to
3 years ago
3 years ago
No labels applied.

~nicohman 3 years ago

This seems like a good idea, and it's definitely possible. I'll look into the App.gen_completions function from clap, although I do wonder how easy it would be for that to also include the game titles.

~murlakatamenka 3 years ago

Thanks. I guess I should've made separate tickets, more atomic.

Register here or Log in to comment, or comment via email.