Commit Graph
2 Commits
Author SHA1 Message Date
Evgeniy Alexeev c95ecfb4df Merge fdc6ff40bc into 4ffedd4ac8 2014-01-08 03:24:54 -08:00
Evgeniy Alexeev fdc6ff40bc 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 -Qs` (for example) it requires the sudo password. With this patch path to `pacman` will be read from the configuration file and this command will not require the password.
2014-01-08 14:23:06 +03:00