dotfiles/zsh/plgs/systemctl.zsh
2020-05-26 21:52:12 +02:00

5 lines
138 B
Bash

cmds=(status show start stop reload restart enable disable daemon-reload)
for cmd in $cmds; do
alias sc-$cmd="sudo systemctl $cmd"
done