update zsh configuration files

This commit is contained in:
arcan1s
2014-11-26 12:10:58 +03:00
parent 63bae6ae0b
commit 8071d696d8
25 changed files with 447 additions and 1848 deletions

7
zsh/pacman_common Normal file
View File

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