Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zed or fned on autoloaded functions
- X-seq: zsh-workers 12396
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: PATCH: zed or fned on autoloaded functions
 
- Date: Thu, 27 Jul 2000 07:51:13 +0000
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
The output of `functions' for autoloadable functions has changed, but zed
didn't keep up.
Index: Functions/Misc/zed
===================================================================
@@ -41,7 +41,7 @@
 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
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author