This commit is contained in:
Luke Smith
2021-08-25 08:02:39 -04:00
parent f36f2fe539
commit 1c676c7cf2
5 changed files with 8 additions and 7 deletions

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
@@ -38,7 +38,6 @@ alias \
sdn="sudo shutdown -h now" \
e="$EDITOR" \
v="$EDITOR" \
p="sudo pacman" \
xi="sudo xbps-install" \
xr="sudo xbps-remove -R" \
xq="xbps-query" \