1
0
Fork 0
mirror of synced 2024-11-05 16:28:57 -05:00
zimfw/modules/completion
Eric Nielsen 35c5daf791
[pacman] Remove dependency from completion module
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
2018-10-01 08:17:22 -05:00
..
external@955645c22b [completion] Update submodule to version 0.28.0 2018-09-28 13:20:36 -05:00
init.zsh [pacman] Remove dependency from completion module 2018-10-01 08:17:22 -05:00
README.md [completion] Update init.zsh and README.md 2018-05-24 20:37:16 -05:00

completion

Enables and configures smart and extensive tab completion.

Completions are sourced from zsh-completions.

Contributing

Command completions should be submitted upstream to zsh-completions.