mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Comment out pacman wrapper. It needs to be rewritten.
This commit is contained in:
parent
e5a3d11638
commit
f3292101da
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue