mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
fix(systemd): enable --user
on restart command (#10543)
`restart` is a unit-related command, not power-related, so it should appear as `sc-restart=sudo systemctl restart` and `scu-restart=systemctl --user restart`
This commit is contained in:
parent
a01cf85627
commit
116fc2feaa
1 changed files with 1 additions and 1 deletions
|
@ -45,6 +45,7 @@ sudo_commands=(
|
||||||
reload-or-restart
|
reload-or-restart
|
||||||
reset-failed
|
reset-failed
|
||||||
rescue
|
rescue
|
||||||
|
restart
|
||||||
revert
|
revert
|
||||||
set-default
|
set-default
|
||||||
set-environment
|
set-environment
|
||||||
|
@ -63,7 +64,6 @@ power_commands=(
|
||||||
hybrid-sleep
|
hybrid-sleep
|
||||||
poweroff
|
poweroff
|
||||||
reboot
|
reboot
|
||||||
restart
|
|
||||||
suspend
|
suspend
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue