Commit Graph

10 Commits

Author SHA1 Message Date
Julien Nicoulaud 0f883ba365 #207: add license headers to compdefs from zsh-users mailing list 2016-05-27 19:52:25 +02:00
Evgeniy Alexeev 7187ffd3b7 Update _yaourt
I have the next function in .zshrc:

      pacman () {
        /usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R" && rehash
      }

And I have the next line in `/etc/yaourtrc`:

      PACMAN="/usr/bin/pacman"

But if I try to get autocomplite for `yaourt -Ss` (for example) it requires a sudo password. With this patch path to `pacman` (`PACMAN` variable) will be read from the configuration file and this command will not require the password.

It is a correct variant :)
2014-01-08 14:54:56 +03:00
Michael Kory Woods a83eb6e0fb add '--devel' to sync option
"--devel" exists in query, but "yaourt -Syu --dev<tab><tab>" issn't autocompleting "--devel" (not sure it should based on it being in the query call, just wanted to mention it).
2013-06-16 16:39:47 -05:00
Michael Kory Woods abd8ca4b05 add '--date' to opts_query_modifiers 2013-06-16 16:33:31 -05:00
Limao Luo 1f177e5680 more consistent completion messages 2013-05-11 11:28:19 -04:00
Limao Luo aa58f2f8b9 added new opts 2013-05-11 11:27:21 -04:00
luolimao b6f3d51dc7 fixed indentation in general 2012-09-02 02:26:59 -04:00
luolimao a89cb91318 turned tabs into spaces 2012-09-02 02:23:03 -04:00
luolimao 0f7eebbfac added completions for AUR packages 2012-08-31 04:45:03 -04:00
Julien Nicoulaud 10ffeb0c15 [BREAKING CHANGE] Move compdefs to own directory (to ease packaging and
avoid bloating users fpath with unneeded files such as README.md)
2012-08-01 13:23:11 +02:00