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

Re: expansion after =?

On Wed, 02 Jul 2003 18:39:32 +0100
Peter Stephenson <pws@xxxxxxx> wrote:

> Seth Kurtzberg wrote:
> > Is there a configuration parameter or option that enables path completion aft
> > er equals, for example, export ENVVAR=/some/path/name?  I've been using zsh f
> > or some months now, and this is the only thing that bash does that I find mis
> > sing in zsh.  But perhaps the behavior can be turned on in some way?
> If you are using the new completion system (autoload -U compinit;
> compinit) then this will work automatically.  The old completion system
> didn't have this built in, though you could use compctl to enable it;
> you don't say what version of zsh you are using, but if it is 4.x you
> are likely to get far better results with the new system.

Thanks much.  I'm using 4.0.6, so I have the new features.  I'm going to update to 4.0.7 just in case.  Or, would you suggest the development release?

With 4.0.6, the old completion system is used by default if I don't do the autoload sequence above?

> You might also be interested in the option MAGIC_EQUAL_SUBST; this forces
> ~'s to be expanded after any ='s.

Yes, that will also be helpful.

Again, thanks for an outstanding software tool.

> -- 
> Peter Stephenson <pws@xxxxxxx>                  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.
> **********************************************************************

Seth Kurtzberg
MIS Corp

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