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

Re: globcomplete desctroys file completion

On Wed, 25 Feb 2009 20:12:36 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> No, that's not right either.  At this point the following is the only
> thing I've tried that gets me the same behavior (including proper cursor
> placement) both with and without globcomplete set.  This bothers me,
> because I don't understand why globcomplete sends us through this branch
> of the code in the first place.  I mean, I follow the conditional logic
> in _path_files that gets it here, but I don't know why the conditionals
> are written the way they are.

The branching in _path_files is from the deepest levels of the dungeons,
where the creatures live that can destroy even advanced characters with one
look.  I should just commit it, award yourself +1 charisma, and look away.

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070

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