1
0
Fork 0
mirror of synced 2024-11-04 15:58:57 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Matt Hamilton
98f501a435 [pacman] fix pacor alias
closes #43
2016-05-07 23:49:46 -07:00
Tmplt
6cb9d54ffb [pacman] don't call sudo on pacaur
like yaourt, pacaur also handles SUID itself.

Closes #38
2016-04-18 19:45:11 -07:00
Matt Hamilton
7874b97bf1 [pacman] cleanup privileged vs unprivileged
* moves check for yaourt into the other zpacman_frontend checks
* remove hardcoded sudo vs non-sudo; uses zpacman_frontend[_priv]
instead.
  * these vars are set in the zpacman_frontend value sanity check.
  * for values != yaourt, prepend sudo for zpacman_frontend_priv
2016-02-06 15:45:31 -05:00
Matt Hamilton
0e19c3d277 [pacman] local pkg installs don't need a frontend 2016-02-05 22:14:54 -05:00
Tmplt
31180a5c5e [pacman] don't call sudo on yaourt
As explained in #31, yaourt does not require to be called as root,
because it requests access by its own.

This closes #31 and closes #32
2016-02-05 22:13:48 -05:00
Matt Hamilton
534e627331 cleanup pacman module and options 2015-12-29 14:51:08 -05:00
Matt Hamilton
9c84d1904c unset pacman helper var 2015-12-28 01:46:08 -05:00
Matt Hamilton
b0bf9d2ebc load-time optimizations 2015-12-20 20:42:48 -05:00
Matt Hamilton
a1a56ac63f use consistent variable style 2015-12-19 09:48:29 -05:00
Matt Hamilton
be24df6e8d add pacown and pacblame aliases 2015-12-17 11:28:30 -05:00
Matt Hamilton
01838f0083 add compdef for pacman aliases
The recommended order for the module loading has been changed. The last
module to be loaded should be 'completion'. This ensures all completions
set by other modules are dumped and included in the completion.
Because of this, any compdefs like this one (making the pacman aliases
use pacman completion) must be set in the compdefs.zsh file, and loaded
with the completion module. This means the compdefs must be wrapped with
conditional statements to ensure such aliases/functions have been set by
previous modules. I may abstract this conditional to a function in the
future to make this an easier process.
2015-12-17 03:06:12 -05:00
Matt Hamilton
2a4e052939 fix typo, thanks Mikachu 2015-12-16 00:35:12 -05:00
Matt Hamilton
d916ad2967 pacman conditional is broken 2015-12-16 00:01:57 -05:00
Matt Hamilton
56c5d51ab8 add pacman documentation 2015-12-15 03:00:26 -05:00
Matt Hamilton
3a62391e0e initial commit 2015-12-15 00:12:17 -05:00