Comment out pacman wrapper. It needs to be rewritten.

This commit is contained in:
Simon Gomizelj 2011-11-29 06:24:13 -05:00
commit f3292101da

View file

@ -49,13 +49,13 @@ asroot() {
whence sudo &>/dev/null && sudo $@ || su -c "$@"
}
pacman() {
pacman_bin=${commands[pacman-color]:-/usr/bin/pacman}
case $1 in
-S | -S[^sihgl]* | -R* | -U*) asroot $pacman_bin $@ ;;
*) $pacman_bin "$@" ;;
esac
}
# pacman() {
# pacman_bin=${commands[pacman-color]:-/usr/bin/pacman}
# case $1 in
# -S | -S[^sihgl]* | -R* | -U*) asroot $pacman_bin $@ ;;
# *) $pacman_bin "$@" ;;
# esac
# }
# TODO There needs to be a better way to support this
[[ -x /usr/bin/cower ]] && source $ZSH/plugins/archlinux/aur-helpers/aur-helper-cower.zsh