mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-05 05:03:16 +02:00
Add systemd daemon-reload alias
This commit is contained in:
parent
d848c94804
commit
3134bbd76c
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ sudo_commands=(
|
||||||
start stop reload restart try-restart isolate kill
|
start stop reload restart try-restart isolate kill
|
||||||
reset-failed enable disable reenable preset mask unmask
|
reset-failed enable disable reenable preset mask unmask
|
||||||
link load cancel set-environment unset-environment
|
link load cancel set-environment unset-environment
|
||||||
edit)
|
edit daemon-reload)
|
||||||
|
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue