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

Re: named directory bug



On Oct 31,  3:30pm, Vincent Lefevre wrote:
}
} Will this bug be fixed?

Here's a possible fix.  At the least it's a workaround that you can apply in
the meantime.

Index: Completion/Base/Core/_main_complete
===================================================================
--- Completion/Base/Core/_main_complete	2001/09/05 15:22:28	1.4
+++ Completion/Base/Core/_main_complete	2001/10/31 15:29:50
@@ -17,6 +17,7 @@
 # state than the global one for which you are completing.
 
 eval "$_comp_setup"
+zmodload -i zsh/parameter && local +h nameddirs
 
 local func funcs ret=1 tmp _compskip format nm call match min max i num\
       _completers _completer _completer_num curtag _comp_force_list \


-- 
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