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

Is shell completion supported? #79

Open
pabru opened this issue Jul 7, 2016 · 4 comments
Open

Is shell completion supported? #79

pabru opened this issue Jul 7, 2016 · 4 comments

Comments

@pabru
Copy link
Contributor

pabru commented Jul 7, 2016

Hi @icy,

Do you know if shell completion is implemented in pacapt? If not, (and if it's doable for me) I could start working on it as I really like being able to do this with native apt and pacman binaries.

What do you think?

@icy
Copy link
Owner

icy commented Jul 7, 2016

Oh I haven't thought of that (I personally doesn't use any kind of completions except the default <tab>). It's really great if you could start autocompletion support. Thanks a ton!

@cuonglm
Copy link
Collaborator

cuonglm commented Jul 7, 2016

@pabru Why don't use bash completion for pacman?

You can do the same as bash does for pacman in /usr/share/bash-completion/completions/pacman for pacapt

@pabru
Copy link
Contributor Author

pabru commented Jul 7, 2016

Hi @Gnouc. I was thinking about things like package name completion (i.e. something like pacman -S openssh-ser<TAB> gets autocompleted to pacman -S openssh-server) as that saves some typing. I was also initially thinking of Bash support only as I don't have experience with the other shells.

I think I could base my bash autocomplete on the existing apt-get etc. completions, with a few modifications.

@sevu
Copy link

sevu commented Feb 2, 2019

It would be great to have

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

No branches or pull requests

4 participants