Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: zed or fned on autoloaded functions



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