1
0
Fork 0
mirror of synced 2024-06-17 06:11:09 -04:00
zimfw/modules
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
..
archive [archive] Fix lzma typo 2018-02-08 11:03:30 -05:00
autosuggestions [autosuggestions] Update submodule to version v0.4.3 2018-09-28 13:17:33 -05:00
completion [pacman] Remove dependency from completion module 2018-10-01 08:17:22 -05:00
custom Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00
debug Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00
directory [directory] Update README.md 2018-05-16 14:21:37 -05:00
environment [environment] Use setopt NO_FOO instead of unsetopt FOO 2018-05-18 13:54:48 -05:00
fasd remove broken quote in fasd function 2017-05-30 06:30:30 -07:00
git Update module README.md 2018-05-14 19:09:11 -05:00
git-info Update module README.md 2018-05-14 19:09:11 -05:00
history use consistent variable style 2015-12-19 09:48:29 -05:00
history-substring-search [history-substring-search] Fix bindkey back to what works 2018-09-17 15:32:44 -05:00
input [input] Update README.md 2018-05-17 09:01:04 -05:00
pacman [pacman] Remove dependency from completion module 2018-10-01 08:17:22 -05:00
prompt [prompt] pure: Update submodule to version 1.8.0 2018-09-30 10:42:17 -05:00
ssh [ssh] Update init.zsh 2018-09-17 15:38:48 -05:00
syntax-highlighting Update to new repo URL 2018-01-03 10:30:12 -05:00
utility [utility] Move GNU-only code down 2018-06-16 21:49:20 -05:00