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

Re: zsh versus tcsh's "complete=enhance"



On Sun, Apr 30, 2006 at 06:01:05PM +0200, Jörgen Grahn wrote:
> Hi,
> 
> Before I switched from tcsh (used it for approximately fifteen years) to zsh,
> I depended heavily on the complete=enhance setting. From tcsh(1):
> 
>     If the complete shell variable is set to enhance', completion 1) ignores
>     case and 2) considers periods, hyphens and underscores (.', -' and _')
>     to be word separators and hyphens and underscores to be equivalent.
> 
> For example, ~/News/c.o.l.an might expand to ~/News/Comp.os.linux.announce.
> And it works on commands too: s_ad expands to ssh-add.
[...]

Go through compinstall again, there's a menu entry exactly for
that (menu entry "2", then "p" for partial matching, you can
specify the characters).

Search for "partial-word completion" in the manual.

-- 
Stephane



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