mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
More flags that for pacman that shouldn't trigger root.
This commit is contained in:
parent
6262677a96
commit
e5a3d11638
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ asroot() {
|
|||
pacman() {
|
||||
pacman_bin=${commands[pacman-color]:-/usr/bin/pacman}
|
||||
case $1 in
|
||||
-S | -S[^sih]* | -R* | -U*) asroot $pacman_bin $@ ;;
|
||||
-S | -S[^sihgl]* | -R* | -U*) asroot $pacman_bin $@ ;;
|
||||
*) $pacman_bin "$@" ;;
|
||||
esac
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue