mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Not patched :'(
This commit is contained in:
parent
1e30824979
commit
e44222638c
1 changed files with 2 additions and 1 deletions
|
|
@ -49,7 +49,8 @@ pacdisowned() {
|
||||||
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[^sih]* | -R* | -U*) =sudo /bin/su -c "\"$pacman_bin $@\"" ;;
|
# The following line is a pure bug, Please fix!
|
||||||
|
-S | -S[^sih]* | -R* | -U*) =sudo /bin/su -c "$pacman_bin $@" ;;
|
||||||
*) $pacman_bin "$@" ;;
|
*) $pacman_bin "$@" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue