summaryrefslogtreecommitdiffstats
path: root/.config/shell/aliasrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/shell/aliasrc')
-rw-r--r--.config/shell/aliasrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 5122d08..235fc04 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
@@ -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" \