From 817a4f390a0b04c937b55417f77a4cad9e1cb6bd Mon Sep 17 00:00:00 2001 From: Hekuran Date: Wed, 25 Aug 2021 13:46:00 +0200 Subject: [PATCH] add to aliasrs In Artix you need to run them with sudo. --- .config/shell/aliasrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index e8c12cac..9b67305e 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -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