diff options
-rw-r--r-- | etc/function | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/function b/etc/function index 783d79b..a9f6915 100644 --- a/etc/function +++ b/etc/function @@ -6,9 +6,7 @@ autoload catch throw autoload zargs # own functions -for funcfile in $ZDIR/functions/*(*N); - autoload ${funcfile:t} -unset funcfile +autoload $ZDIR/functions/*(*N:t) function Start Stop Restart Reload { typeset script |