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

Re: local opt (bug?)



Alexandre Duret-Lutz wrote:

> Has `local opt' a special meaning ?
> 
> ~/zsh % zsh -f
> mars% local opt
> mars% local opt
> opt=''                            <- how strange !
> mars% 

This is really annoying, isn't it? Can't we make those builtin-aliases 
like `local', `integer', etc. be quiet in such cases? Or at least
`local' because when that is used one will almost always not be
interested in the output. (But then, one might want to do `$(local)'. Hm.)

> If this is a _feature_ there is at least a problem in _argument,
> that is: when _argument does `local opt' twice, this mess 
> up the command line, e.g. :
> 
> mars% autoload compinit; compinit -D
> mars% cd ~/zsh
> mars% ./configure --pre<TAB>
> mars% ./configure --preopt=''
> fix=<CURSORHERE>
> 
> Have I missed something ?

No, the patch is still on its way...

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author