dotfiles/zsh/pacman_test.zsh
2016-02-23 01:07:54 +03:00

8 lines
245 B
Bash

# pacman commands with repo variations
yatest() {
/usr/bin/yaourt --config /etc/pactest.conf $* && echo "$*" | grep -q "S\|R\|U" && rehash
}
yaaur() {
/usr/bin/yaourt --config /etc/pacaur.conf $* && echo "$*" | grep -q "S\|R\|U" && rehash
}