86d881c47de3d0ed791e1e7d8c2ed480e6c781ee
- Author
- Juraj Fiala <doctorjellyface@riseup.net>
- Committer
- Juraj Fiala <doctorjellyface@riseup.net>
- Date
Message
Added aliases for --now commands
Also removed the old sc-launch alias because this is just better.
Diff
1diff --git a/plugins/systemd/systemd.plugin.zsh b/plugins/systemd/systemd.plugin.zsh
2index 503f7c1381f0686ef31e9675139da1e7cf072c46..f9b522e40d04dca49bd41c115449c96a9c0deda7 100644
3--- a/plugins/systemd/systemd.plugin.zsh
4+++ b/plugins/systemd/systemd.plugin.zsh
5@@ -9,4 +9,7 @@ sudo_commands=(
6
7 for c in $user_commands; do; alias sc-$c="systemctl $c"; done
8 for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done
9-alias sc-launch="sudo systemctl start $c && sudo systemctl enable $c"
10+
11+alias sc-enable-now="sc-enable --now"
12+alias sc-disable-now="sc-disable --now"
13+alias sc-mask-now="sc-mask --now"