mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Added aliases for --now commands
Also removed the old sc-launch alias because this is just better.
This commit is contained in:
parent
800af047d7
commit
86d881c47d
1 changed files with 4 additions and 1 deletions
|
@ -9,4 +9,7 @@ sudo_commands=(
|
||||||
|
|
||||||
for c in $user_commands; do; alias sc-$c="systemctl $c"; done
|
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
|
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…
Reference in a new issue