Use sc-u for systemctl user aliases
This commit is contained in:
parent
89df08054f
commit
148df95769
@ -12,7 +12,7 @@ all_commands=($user_commands $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
|
||||
for c in $all_commands; do; alias scu-$c="systemctl --user $c"; done
|
||||
for c in $all_commands; do; alias sc-u-$c="systemctl --user $c"; done
|
||||
|
||||
alias sc-enable-now="sc-enable --now"
|
||||
alias sc-disable-now="sc-disable --now"
|
||||
|
Loading…
Reference in New Issue
Block a user