add to aliasrs

In Artix you need to run them with sudo.
This commit is contained in:
Hekuran 2021-08-25 13:46:00 +02:00 committed by GitHub
parent 67871e8a4f
commit 817a4f390a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
[ -f "$XINITRC" ] && alias startx="startx $XINITRC"
# sudo not required for some system commands
for command in mount umount sv pacman updatedb su ; do
for command in mount umount sv pacman updatedb su shutdown poweroff reboot ; do
alias $command="sudo $command"
done; unset command