zsh-workers
 help / color / mirror / code / Atom feed
* And another strange behaviour...
@ 2003-01-14 16:27 DervishD
  2003-01-14 17:41 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: DervishD @ 2003-01-14 16:27 UTC (permalink / raw)
  To: Zsh

    Hi all :))

    Why, even if I set MAGIC_EQUAL_SUBST, this doesn't work?:

    dd if=<tab>

    Hitting the <tab> doesn't complete anything :((

    I have magic_equal_subst on, equals on/off (tested both) and
glob_assign on and off, too. I've tested all combinations (I
think...).

    Raúl


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

* Re: And another strange behaviour...
  2003-01-14 16:27 And another strange behaviour DervishD
@ 2003-01-14 17:41 ` Peter Stephenson
  2003-01-14 18:03   ` DervishD
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2003-01-14 17:41 UTC (permalink / raw)
  To: DervishD; +Cc: Zsh

DervishD wrote:
>     Hi all :))
> 
>     Why, even if I set MAGIC_EQUAL_SUBST, this doesn't work?:
> 
>     dd if=<tab>

Are you using old fashioned compctl completions?  There's no special
handling of this case; you need to look at the dd recipe, which you can
find in Misc/compctl-examples.

If you're using new-style completion, after running compinit this should
be handled automatically.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


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

* Re: And another strange behaviour...
  2003-01-14 17:41 ` Peter Stephenson
@ 2003-01-14 18:03   ` DervishD
  0 siblings, 0 replies; 3+ messages in thread
From: DervishD @ 2003-01-14 18:03 UTC (permalink / raw)
  To: Peter Stephenson; +Cc: Zsh

    Hi Peter :)

> >     Why, even if I set MAGIC_EQUAL_SUBST, this doesn't work?:
> >     dd if=<tab>
> Are you using old fashioned compctl completions?  There's no
> special handling of this case; you need to look at the dd recipe,
> which you can find in Misc/compctl-examples.

    I'm using currently neither compctl nor new style completion, but
at some point in the past, setting magicequalsubst did the trick with
'dd', 'configure', and some of my programs, too. This is the reason
why I'm asking this. It's weird :???

    In the documentation says that when magicetc is set, then any
unquoted shell arg is eligible for file expansion, and I suppose this
is true, but, how about *completion*? How can I make that eligible
for completion *without* creating special recipes for the programs
that get arguments with '='?

    If I'm not wrong, no completion mechanism, neither compctl nor
the new system, is needed in order to make this work :?? Does MES
conflict with any other option (apart from KSH_TYPESET)?

    Thanks a lot for answering, Peter :)

    Raúl


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

end of thread, other threads:[~2003-01-14 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-14 16:27 And another strange behaviour DervishD
2003-01-14 17:41 ` Peter Stephenson
2003-01-14 18:03   ` DervishD

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