1
0
Fork 0

zsh: no sudo for pvs, vgs, lvs

This commit is contained in:
Luca Bilke 2024-07-31 16:42:05 +02:00
parent f72ed9f169
commit 6a8d56e24e

View file

@ -2,7 +2,7 @@
# shellcheck disable=SC2142
# sudo not required for some system commands
for command in mount umount xbps-install xbps-remove su shutdown poweroff reboot; do
for command in mount umount pvs vgs lvs xbps-install xbps-remove su shutdown poweroff reboot; do
# shellcheck disable=SC2139
command -v $command 1>/dev/null 2>&1 && alias $command="sudo $command"
done