From bccfe3b1576c2a1eb1219ec3894d89998249fbcf Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 15 Dec 1999 02:28:14 +0000 Subject: zsh-workers/9048 --- Functions/Zle/incremental-complete-word | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Functions/Zle') diff --git a/Functions/Zle/incremental-complete-word b/Functions/Zle/incremental-complete-word index 996b2461f..e1020d41a 100644 --- a/Functions/Zle/incremental-complete-word +++ b/Functions/Zle/incremental-complete-word @@ -20,11 +20,12 @@ incremental-complete-word() { local lastl lastr wid twid num alt post toolong local curcontext="${curcontext}:incremental" stop brk - _style -s '' prompt pmpt || pmpt='incremental (%c): %u%s %l}' - _style -s '' stop stop - _style -s '' break brk + zstyle -s ":completion${curcontext}" prompt pmpt || + pmpt='incremental (%c): %u%s %l' + zstyle -s ":completion${curcontext}" stop stop + zstyle -s ":completion${curcontext}" break brk - if _style '' list; then + if zstyle -t ":completion${curcontext}" list; then wid=list-choices post=( icw-list-helper ) else -- cgit 1.4.1