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

Re: PATCH: zsh-3.1.5-pws-6: bash-style completion



On Feb 4,  3:12pm, Peter Stephenson wrote:
} Subject: Re: PATCH: zsh-3.1.5-pws-6: bash-style completion
}
} However, I'm having problems with LISTAMBIGUOUS when RECEXACT is set,
} because `am' then gets set a few lines above that, apparently even if
} there isn't an exact completion, and the chunk in question is skipped.

Ah, yes, that's Sven's patch from zsh-workers/4148.  Previously when an
ambigous prefix partially-completed to an exact prefix, the next TAB
would simply accept that rather than proceeding into AUTOMENU.  After
4148, zsh "remembers" that the prefix was produced by completion, not
by having been typed, and therefore treats it as still ambiguous.

} Any ideas?

Perhaps it just needs to read

	am = !isset(BASHAUTOLIST);

instead of

	am = 1;

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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