From 86d881c47de3d0ed791e1e7d8c2ed480e6c781ee Mon Sep 17 00:00:00 2001 From: Juraj Fiala Date: Sun, 6 Sep 2015 13:01:09 +0200 Subject: [PATCH] Added aliases for --now commands Also removed the old sc-launch alias because this is just better. --- plugins/systemd/systemd.plugin.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh index 503f7c138..f9b522e40 100644 --- a/plugins/systemd/systemd.plugin.zsh +++ b/plugins/systemd/systemd.plugin.zsh @@ -9,4 +9,7 @@ sudo_commands=( for c in $user_commands; do; alias sc-$c="systemctl $c"; done for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done -alias sc-launch="sudo systemctl start $c && sudo systemctl enable $c" + +alias sc-enable-now="sc-enable --now" +alias sc-disable-now="sc-disable --now" +alias sc-mask-now="sc-mask --now"