Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: what is removing the space after completion and before "|"?
- X-seq: zsh-workers 16828
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: what is removing the space after completion and before "|"?
- Date: Thu, 14 Mar 2002 12:15:25 +0100
- In-reply-to: <20020314025932.A29035@xxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020309020350.A25556@xxxxxxxxxxxxxxxxx> <20020309103417.GA15311@xxxxxxx> <1020309182056.ZM24962@xxxxxxxxxxxxxxxxxxxxxxx> <20020309214538.A9452@xxxxxxxxxxxxxxxxx> <15500.32490.15487.735745@xxxxxxxxxxxxxxxxxx> <20020314025932.A29035@xxxxxxxxxxxxxxxxx>
Derek Peschel wrote:
> ...
>
> I mean I haven't run compinit or compctl, I'm just using the built-in
> options.
Oi. I see. That builtin stuff is actually compctl used internally when
no other completion code was loaded while processing the init files.
Use the new completion system to really see suffixes in action (with
all their problems).
> ...
>
> Now I suspect the makesuffix function. I think what's happening is this:
Yes, that one is used to register that there was a suffix added, n
characters long, which should automatically be removed when some space
or one of the characters that separates commands is typed next.
(So, if you just want to get rid of that auto-removal when inserting
`|', `&' or `;', just uncomment/remove these at zle_misc.c:881, but
don't expect us to include that patch in the distribution ;-)
maksuffix()'s brothers and sisters are used to register more
complicated types of suffixes.
I'm currently trying to collect my ideas about suffixes and will
eventually come up with a list and a description of how I think all of
this could be implemented.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author