## vim:ft=zsh # zsh functions autoload -U compinit autoload colors autoload catch throw autoload zargs # own functions autoload check_com chpwd dirinfo extr plonkhost put reload rtab salias autoload world-readable xexport xsource youtube-watch colors chpwd # 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} ; }" }