diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh index 5a35ecbc..cde99b84 100644 --- a/plugins/systemd/systemd.plugin.zsh +++ b/plugins/systemd/systemd.plugin.zsh @@ -14,3 +14,9 @@ for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done alias sc-enable-now="sc-enable --now" alias sc-disable-now="sc-disable --now" alias sc-mask-now="sc-mask --now" + +for c in $user_commands $sudo_commands; do; alias uc-$c="systemctl --user $c"; done + +alias uc-enable-now="uc-enable --now" +alias uc-disable-now="uc-disable --now" +alias uc-mask-now="uc-mask --now"