summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/.zshrc b/etc/.zshrc
index dba8922..f5062a1 100644
--- a/etc/.zshrc
+++ b/etc/.zshrc
@@ -175,9 +175,9 @@ function xhashd {
}
function Status Start Stop Restart Reload {
- typeset script
- for script in ${*}; {
- sudo /etc/init.d/${script} ${0:l}
+ typeset service
+ for service in "${@}"; {
+ sudo systemctl ${0:l} ${service}
}
}