Added aliases for --now commands

Also removed the old sc-launch alias because this is just better.
master
Juraj Fiala 11 years ago
parent 800af047d7
commit 86d881c47d
  1. 5
      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"

Loading…
Cancel
Save