summaryrefslogtreecommitdiff
path: root/etc/function
blob: 5bca1d969be861c235f7b425493d57c9fed25213 (plain)
1
2
3
4
5
6
7
8
9
10
for i in $ZDIR/functions/*; {
	autoload $i:t
}

autoload throw catch

# 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} ; }"
}