Added aliases for --now commands

Also removed the old sc-launch alias because this is just better.
This commit is contained in:
Juraj Fiala 2015-09-06 13:01:09 +02:00
parent 800af047d7
commit 86d881c47d
1 changed files with 4 additions and 1 deletions

View File

@ -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"