remove yaourt

This commit is contained in:
Evgenii Alekseev 2018-06-19 03:03:49 +03:00
parent 928d8f7222
commit 393c8fa3e9
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# redefine pacman and yaourt # redefine pacman and aurman
pacman() { pacman() {
/usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R\|U" && rehash /usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R\|U" && rehash
} }
yaourt() { aurman() {
/usr/bin/yaourt $* && echo "$*" | grep -q "S\|R\|U" && rehash /usr/bin/aurman $* && echo "$*" | grep -q "S\|R\|U" && rehash
} }

View File

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