diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-12 19:24:12 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-12 19:24:12 +0200 |
commit | 3d03f8ed9d9c4f75381ff938784abed5b84c64eb (patch) | |
tree | 451bb25c6be1fad5fbcff32cc8609c3695217ead /etc/function | |
parent | e4a7c0d5eb88b70e04e5980f347417431b0f5524 (diff) |
etc/function: Enable Exceptions
Diffstat (limited to 'etc/function')
-rw-r--r-- | etc/function | 2 |
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} ; }" |