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

Re: A minor glitch with _arguments



On May 2, 11:21am, Sven Wischnowsky wrote:
} Subject: Re: A minor glitch with _arguments
}
} > Putting quotes around an option string convinces _arguments that it has
} > reached the end of the options.  E.g. using zsh's configure script as a
} > test case:
} > 
} > zsh% ./configure '--enable-dynamic' --<TAB>
} > No matches for `corrections'
} 
} The patch makes comparguments remove one level of quoting.  Was there a
} simpler way to achieve that?

I think this cure is worse than the disease:

schaefer<509> ../zsh-4.0/configure '--e<TAB>
schaefer<509> ../zsh-4.0/configure --e 
_arguments:191: unmatched '
schaefer<509> ../zsh-4.0/configure '--e


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