diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-07-27 08:14:54 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-07-27 08:14:54 +0000 |
commit | 8ffa3c17cf113340bce4133222edfa3d4a138d2d (patch) | |
tree | c2164a18cdba86840c7de58a71a77e74358fcfd3 | |
parent | 97a345de50e45990980027ea71f1d0e8f2658ec6 (diff) | |
download | zsh-8ffa3c17cf113340bce4133222edfa3d4a138d2d.tar.gz zsh-8ffa3c17cf113340bce4133222edfa3d4a138d2d.tar.xz zsh-8ffa3c17cf113340bce4133222edfa3d4a138d2d.zip |
Detect autoloadable functions properly in zed.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Misc/zed | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 03a81f8d7..4f34392a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-07-27 Bart Schaefer <schaefer@zsh.org> + + * 12396: Functions/Misc/zed: The value of `$(functions $1)' for + autoloadable functions has changed. + 2000-07-27 Sven Wischnowsky <wischnow@zsh.org> * 12394: Completion/Core/_main_complete: don't hide possible diff --git a/Functions/Misc/zed b/Functions/Misc/zed index dbf680270..68cb33fbe 100644 --- a/Functions/Misc/zed +++ b/Functions/Misc/zed @@ -41,7 +41,7 @@ bindkey -a "ZZ" accept-line if ((fun)) then var="$(functions $1)" # If function is undefined but autoloadable, load it - if [[ $var = undefined* ]] then + if [[ $var = *\#\ undefined* ]] then local dir for dir in $fpath; do if [[ -f $dir/$1 ]] then |