for i in $ZDIR/functions/*; { autoload $i:t } # from https://git.tabularazor.org/~mikael/etc/tree/zsh/functions for action in Start Stop Restart Reload; { eval "$action() { sudo /etc/init.d/\$1 ${action:l} ; }" }