summaryrefslogtreecommitdiff
path: root/etc/function
diff options
context:
space:
mode:
Diffstat (limited to 'etc/function')
-rw-r--r--etc/function4
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