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

Re: expansion after =?



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.

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

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



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