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
|
if grep -q '^NAME="Artix Linux"$' /etc/os-release; then
|
||||||
alias reboot="sudo reboot"
|
alias reboot="loginctl reboot"
|
||||||
alias poweroff="sudo poweroff"
|
alias poweroff="loginctl poweroff"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias ssh="TERM=xterm-256color ssh"
|
alias ssh="TERM=xterm-256color ssh"
|
||||||
|
|
Loading…
Reference in a new issue