1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00

Add sc-launch as a shortcut for start & enable

I've heard many people requesting systemd to add this functionality. It's very handy under Arch.
This commit is contained in:
Juraj Fiala 2015-08-01 17:45:00 +02:00
parent 3d5b3430fd
commit 800af047d7

View file

@ -9,3 +9,4 @@ 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"