Browse Source

Added aliases for --now commands

Also removed the old sc-launch alias because this is just better.
Juraj Fiala 8 years ago
parent
commit
86d881c47d
1 changed files with 4 additions and 1 deletions
  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"