From 3d03f8ed9d9c4f75381ff938784abed5b84c64eb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 12 Sep 2008 19:24:12 +0200 Subject: etc/function: Enable Exceptions --- etc/function | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/function') 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} ; }" -- cgit v1.2.3