diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-15 02:28:14 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-12-15 02:28:14 +0000 |
commit | bccfe3b1576c2a1eb1219ec3894d89998249fbcf (patch) | |
tree | 75f69c6ca849bbf91edbdad291d9f39d6ac12172 /Functions/Zle/incremental-complete-word | |
parent | d5fbda44c32c6d9905406b074ebeccb26e263055 (diff) | |
download | zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.gz zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.xz zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.zip |
zsh-workers/9048
Diffstat (limited to 'Functions/Zle/incremental-complete-word')
-rw-r--r-- | Functions/Zle/incremental-complete-word | 9 |
1 files changed, 5 insertions, 4 deletions
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 |