summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/function2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/function b/etc/function
index 4ada9b2..5bca1d9 100644
--- a/etc/function
+++ b/etc/function
@@ -2,6 +2,8 @@ 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} ; }"