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