1
0
Fork 0

remove old alias

This commit is contained in:
Luca Bilke 2024-02-23 16:00:16 +01:00
parent a7b50baa65
commit d326eb8b74

View file

@ -1,7 +1,7 @@
#!/bin/sh
# shellcheck disable=SC2142
# sudo not required for some system commands
for command in mount umount xbps-install xbps-remove updatedb su shutdown poweroff reboot; do
for command in mount umount 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