Commit 800af047 authored by Juraj Fiala's avatar Juraj Fiala
Browse files

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.
parent 3d5b3430
...@@ -9,3 +9,4 @@ sudo_commands=( ...@@ -9,3 +9,4 @@ 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment