new layout
This commit is contained in:
parent
005541a96f
commit
1ee7a6234a
17 changed files with 2353 additions and 2 deletions
8
zsh/functions/systemctl.zsh
Normal file
8
zsh/functions/systemctl.zsh
Normal file
|
@ -0,0 +1,8 @@
|
|||
cmds=(status show start stop reload restart enable disable daemon-reload)
|
||||
|
||||
for cmd in $cmds; do
|
||||
alias sc-$cmd="sudo systemctl $cmd"
|
||||
done
|
||||
|
||||
alias sc-enablenow="sc-enable --now"
|
||||
alias sc-disablenow="sc-disable --now"
|
Loading…
Add table
Add a link
Reference in a new issue