浏览代码

Added aliases for --now commands

Also removed the old sc-launch alias because this is just better.
Juraj Fiala 9 年之前
父节点
当前提交
86d881c47d
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      plugins/systemd/systemd.plugin.zsh

+ 4 - 1
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"