ZSH aliases: Use loginctl instead of sudo for reboot/poweroff.
This commit is contained in:
parent
8566306fcf
commit
a5917e4c17
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
if grep -q '^NAME="Artix Linux"$' /etc/os-release; then
|
||||
alias reboot="sudo reboot"
|
||||
alias poweroff="sudo poweroff"
|
||||
alias reboot="loginctl reboot"
|
||||
alias poweroff="loginctl poweroff"
|
||||
fi
|
||||
|
||||
alias ssh="TERM=xterm-256color ssh"
|
||||
|
|
Loading…
Reference in a new issue