From 4f5e97a0bf849da13eac76628c5cf64bc88396c7 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 10 Aug 2004 23:34:58 +0000 Subject: 20244: fix bug with zed-iting autoloaded functions. --- Functions/Misc/zed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Functions/Misc/zed b/Functions/Misc/zed index b1aa8f4eb..9086a1c4c 100644 --- a/Functions/Misc/zed +++ b/Functions/Misc/zed @@ -74,7 +74,7 @@ if ((fun)) then var="$(functions $1)" # If function is undefined but autoloadable, load it if [[ $var = *\#\ undefined* ]] then - autoload +X $1 + var="$(autoload +X $1; functions $1)" elif [[ -z $var ]] then var="$1() { }" -- cgit 1.4.1