about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-07-27 08:14:54 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-07-27 08:14:54 +0000
commit8ffa3c17cf113340bce4133222edfa3d4a138d2d (patch)
treec2164a18cdba86840c7de58a71a77e74358fcfd3 /Functions
parent97a345de50e45990980027ea71f1d0e8f2658ec6 (diff)
downloadzsh-8ffa3c17cf113340bce4133222edfa3d4a138d2d.tar.gz
zsh-8ffa3c17cf113340bce4133222edfa3d4a138d2d.tar.xz
zsh-8ffa3c17cf113340bce4133222edfa3d4a138d2d.zip
Detect autoloadable functions properly in zed.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/zed2
1 files changed, 1 insertions, 1 deletions
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