summaryrefslogtreecommitdiffstats
path: root/Functions
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-15 02:28:14 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-15 02:28:14 +0000
commitbccfe3b1576c2a1eb1219ec3894d89998249fbcf (patch)
tree75f69c6ca849bbf91edbdad291d9f39d6ac12172 /Functions
parentzsh-workers/9046 (diff)
downloadzsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar
zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.gz
zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.bz2
zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.lz
zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.xz
zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.tar.zst
zsh-bccfe3b1576c2a1eb1219ec3894d89998249fbcf.zip
zsh-workers/9048
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/incremental-complete-word9
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