zsh: no sudo for pvs, vgs, lvs
This commit is contained in:
parent
f72ed9f169
commit
6a8d56e24e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue