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

Re: PATCH: Corrected style test in prediction



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