Edited zshrc

This commit is contained in:
arcan1s 2013-12-13 01:29:54 +04:00
parent 8311b14562
commit 4f6949dfbf

9
zshrc
View File

@ -131,16 +131,13 @@ su () {
fi
}
pacman () {
/usr/bin/sudo /usr/bin/pacman $*
echo "$*" | grep -q "S\|R" && rehash
/usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R" && rehash
}
yaourt () {
/usr/bin/yaourt $*
echo "$*" | grep -q "S\|R" && rehash
/usr/bin/yaourt $* && echo "$*" | grep -q "S\|R" && rehash
}
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" && rehash
}
alias ls='show_which ls && ls --color=auto'