summaryrefslogtreecommitdiff
path: root/etc/function
blob: 4ada9b2ab697313faeccb06acd074a698685f5c6 (plain)
1
2
3
4
5
6
7
8
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} ; }"
}