35c5daf791
The completion module has specific code for the pacman module, and we want to make modules independent from each other. Plus, as far as I checked, most of the pacman wrappers/frontends are already packaged with zsh completion out of the box. I'm not an Arch user, but I checked the repos of the ones in https://wiki.archlinux.org/index.php/AUR_helpers#Pacman_wrappers and these contain zsh completion scripts: * aura: https://github.com/aurapm/aura/blob/master/aura/doc/completions/_aura * pacaur: https://github.com/rmarquis/pacaur/blob/master/zsh.completion * pakku: https://github.com/kitsunyan/pakku/blob/master/completion/zsh.patch * pikaur: https://github.com/actionless/pikaur/blob/master/packaging/usr/share/zsh/site-functions/_pikaur * trizen: https://github.com/trizen/trizen/blob/master/zsh.completion * yay: https://github.com/Jguer/yay/blob/master/completions/zsh I didn't find zsh completions for the ones listed below, so I added a compdef function for them inside the pacman module itself: * aurman * packer-aur * wrapaur * yaourt Closes #296 |
||
---|---|---|
.. | ||
archive | ||
autosuggestions | ||
completion | ||
custom | ||
debug | ||
directory | ||
environment | ||
fasd | ||
git | ||
git-info | ||
history | ||
history-substring-search | ||
input | ||
pacman | ||
prompt | ||
ssh | ||
syntax-highlighting | ||
utility |