Browse Source

Merge pull request #4204 from DoctorJellyface/patch-1

Added --now systemd aliases
Robby Russell 9 years ago
parent
commit
2522ab4504
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/systemd/systemd.plugin.zsh

+ 4 - 0
plugins/systemd/systemd.plugin.zsh

@@ -10,3 +10,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-enable-now="sc-enable --now"
+alias sc-disable-now="sc-disable --now"
+alias sc-mask-now="sc-mask --now"