From 24028efb55a7f5f07a5cf772eb84f34b809d46a6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 30 Nov 2008 11:22:52 +0100 Subject: Use filemode +x to autoload a function file --- etc/function | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'etc/function') diff --git a/etc/function b/etc/function index 762a782..65bf35f 100644 --- a/etc/function +++ b/etc/function @@ -7,9 +7,8 @@ autoload catch throw autoload zargs # own functions -autoload check_com chpwd dirinfo extr git-hook gtd-move \ - off plonkhost put reload rtab salias \ - world-readable xexport xsource youtube-watch +for funcfile in $ZDIR/functions/*(*N); + autoload ${funcfile:t} colors -- cgit v1.2.3