edit zshrc

This commit is contained in:
arcan1s 2014-01-22 00:59:14 +04:00
parent a4455660e2
commit df4c15d149

6
zshrc
View File

@ -176,13 +176,13 @@ su () {
fi fi
} }
pacman () { pacman () {
/usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R" && rehash /usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R\|U" && rehash
} }
yaourt () { yaourt () {
/usr/bin/yaourt $* && echo "$*" | grep -q "S\|R" && rehash /usr/bin/yaourt $* && echo "$*" | grep -q "S\|R\|U" && rehash
} }
yatest () { yatest () {
/usr/bin/yaourt --config /etc/pactest.conf $* && echo "$*" | grep -q "S\|R" && rehash /usr/bin/yaourt --config /etc/pactest.conf $* && echo "$*" | grep -q "S\|R\|U" && rehash
} }
alias ls='show_which ls && ls --color=auto' alias ls='show_which ls && ls --color=auto'