Commit Graph
2 Commits
Author SHA1 Message Date
Evgeniy Alexeev 14232ac66d Update README.md
Edited links to Archlinux packages (the link to *-git is out-of-date, zsh-completion now available in [community])
2014-01-09 03:35:16 +03: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