diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2004-08-10 23:34:58 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2004-08-10 23:34:58 +0000 |
commit | 4f5e97a0bf849da13eac76628c5cf64bc88396c7 (patch) | |
tree | ec439e7dab0d7373eeea7a2b093594d744c07b3f | |
parent | f4973986e9470328081d447ff5b20888b08eb8b6 (diff) | |
download | zsh-4f5e97a0bf849da13eac76628c5cf64bc88396c7.tar.gz zsh-4f5e97a0bf849da13eac76628c5cf64bc88396c7.tar.xz zsh-4f5e97a0bf849da13eac76628c5cf64bc88396c7.zip |
20244: fix bug with zed-iting autoloaded functions.
-rw-r--r-- | Functions/Misc/zed | 2 |
1 files changed, 1 insertions, 1 deletions
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() { }" |