oshazard / apacman

ArchLinux User Repository (AUR) helper and pacman wrapper
https://aur.archlinux.org/packages/apacman/
GNU General Public License v3.0
70 stars 11 forks source link

Add ZSH completions for all regular pacman functions #37

Closed justin8 closed 8 years ago

justin8 commented 8 years ago

Added ZSH completion for pacman commands based almost entirely off of pacman's auto completion. Fix for #28.

_apacman needs to be installed in the PKGBUILD to /usr/share/zsh/site-functions.

@oshazard Is there a concise list of functions that apacman has that pacman does not? I have not added those functions to the auto-complete yet, but I can.

oshazard commented 8 years ago

@justin8 Is the commit you pushed just the config the exact file that comes with pacman?

This has been low priority for me, however I did take a look at the zsh completion file as well as some sample bash completion files.

justin8 commented 8 years ago

Pretty much, with the makepkg and pacman-key sections removed.

If you have a list of the differences I can add those in as well. It was just getting a bit annoying when pacman has such fantastic completion in zsh, and apacman has none at all.