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

eopkg4-bin: Add bash/fish/zsh completion #55

Open
malfisya opened this issue May 4, 2024 · 2 comments
Open

eopkg4-bin: Add bash/fish/zsh completion #55

malfisya opened this issue May 4, 2024 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@malfisya
Copy link
Member

malfisya commented May 4, 2024

Please add back bash/fish/zsh completion. So the cli experience will be comparable with eopkg. Is this even possible with the way eopkg4-bin is shipped?
Thanks you.

@TraceyC77 TraceyC77 added the enhancement New feature or request label May 4, 2024
@malfisya
Copy link
Member Author

I make one for fish (just edited from eopkg), if anyone interested. Just change the file extension to .fish . Put one in completion directory and the other one in functions directory.
eopkg4-bin.txt
__fish_print_eopkg4_packages.txt

@ermo ermo added this to the Py3 port milestone Oct 25, 2024
@TraceyC77
Copy link

I chatted with Joey about this, after discovering we have bash and fish completions, but not zsh
fish

~ ❯❯❯ eopkg it qt6-doc

qt6-docs  (Available Package)  qt6-doctools  (Available Package)

zsh

❯ eopkg it qt6-doc
 -- no matches found --

Currently, the completions live in the bash-completion package, we should move them into eopkg and make them compatible for bash/fish/zsh

packages/b/bash-completion/files/eopkg

As background, I was reminded about this because someone in a KDE Matrix channel was praising the autocomplete functions of zypper. Having this would make eopkg functionality be at the same level as other package managers.

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

No branches or pull requests

3 participants