summaryrefslogtreecommitdiff
path: root/etc/function
blob: 60d645423faadd446bb226290e70ac664b45dade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## vim:ft=zsh

# zsh functions
autoload -U compinit
autoload colors
autoload catch throw
autoload zargs

# own functions
autoload anytag chpwd dirinfo extr plonkhost put reload rtab world-readable
autoload 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} ; }"
}