Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Corrected style test in prediction
- X-seq: zsh-workers 9845
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Corrected style test in prediction
- Date: Wed, 23 Feb 2000 16:53:57 +0100 (MET)
- In-reply-to: Sven Wischnowsky's message of Wed, 23 Feb 2000 16:48:33 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
I wrote:
> - curcontext="${curcontext#*:}predict:"
> + curcontext="predict:${curcontext#*:}"
Getting a bit slow in the brain...
Bye
Sven
diff -ru ../z.old/Functions/Zle/incremental-complete-word Functions/Zle/incremental-complete-word
--- ../z.old/Functions/Zle/incremental-complete-word Wed Feb 23 14:44:05 2000
+++ Functions/Zle/incremental-complete-word Wed Feb 23 16:52:31 2000
@@ -21,7 +21,7 @@
local curcontext="${curcontext}" stop brk
[[ -z "$curcontext" ]] && curcontext=:::
- curcontext="${curcontext#*:}incremental:"
+ curcontext="incremental:${curcontext#*:}"
zstyle -s ":completion:${curcontext}" prompt pmpt ||
pmpt='incremental (%c): %u%s %l'
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author