zsh-workers
 help / color / mirror / code / Atom feed
* Re: local opt (bug?)
@ 1999-11-22  9:39 Sven Wischnowsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Wischnowsky @ 1999-11-22  9:39 UTC (permalink / raw)
  To: zsh-workers


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

* local opt (bug?)
@ 1999-11-22 10:29 Alexandre Duret-Lutz
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Duret-Lutz @ 1999-11-22 10:29 UTC (permalink / raw)
  To: zsh-workers

Has `local opt' a special meaning ?

~/zsh % zsh -f
mars% local opt
mars% local opt
opt=''                            <- how strange !
mars% 

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 ?

-- 
Alexandre Duret-Lutz



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-11-22  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-22  9:39 local opt (bug?) Sven Wischnowsky
1999-11-22 10:29 Alexandre Duret-Lutz

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).