diff options
author | scrouthtv <lennivh24@gmail.com> | 2021-12-30 10:44:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 10:44:57 +0100 |
commit | 116fc2feaa40bf4ce11c3ac72077a0ffba109525 (patch) | |
tree | 29d098419708f5374b5f2e524c1174997c676acb /plugins/systemd | |
parent | a01cf8562700f3e5594f66daf40f31d9fe7ec570 (diff) | |
download | zsh-116fc2feaa40bf4ce11c3ac72077a0ffba109525.tar.gz zsh-116fc2feaa40bf4ce11c3ac72077a0ffba109525.tar.bz2 zsh-116fc2feaa40bf4ce11c3ac72077a0ffba109525.zip |
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`
Diffstat (limited to 'plugins/systemd')
-rw-r--r-- | plugins/systemd/systemd.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh index e9ac64382..7afd2be58 100644 --- a/plugins/systemd/systemd.plugin.zsh +++ b/plugins/systemd/systemd.plugin.zsh @@ -45,6 +45,7 @@ sudo_commands=( reload-or-restart reset-failed rescue + restart revert set-default set-environment @@ -63,7 +64,6 @@ power_commands=( hybrid-sleep poweroff reboot - restart suspend ) |