1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Eric Nielsen
d371d80af2
Unify the for syntax
For short single commands, prefer a one-liner `for` with the zsh syntax:
```
for x (foo bar) print ${x}
```
Otherwise just place `; do` on the same line as the POSIX `for ... in`:
```
for x in foo bar; do
  print ${x}
done
```

Closes #268
2018-04-25 08:59:19 -05:00
Matt Hamilton
54faa20468 [pacman] detect pkg regardless of compress method 2017-09-18 09:18:12 -04:00
Sebastian Stammler
e24fed015c [pacman] Add pacI alias to install without syncing
Closes #99
2016-10-25 16:11:16 -07:00
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
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
3a62391e0e initial commit 2015-12-15 00:12:17 -05:00