updated stuff
This commit is contained in:
parent
fa06d6afcc
commit
0fdf83461e
13 changed files with 900 additions and 0 deletions
8
zsh/libraries/plugins/systemctl.zsh
Normal file
8
zsh/libraries/plugins/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