mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Silenced whence!
This commit is contained in:
parent
ea1e8a9830
commit
00f5e827d2
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ pacdisowned() {
|
||||||
}
|
}
|
||||||
|
|
||||||
asroot() {
|
asroot() {
|
||||||
whence sudo && sudo $@ || su -c "$@"
|
whence sudo &>/dev/null && sudo $@ || su -c "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
pacman() {
|
pacman() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue