Is shell completion supported?
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?
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!
@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
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.
It would be great to have