summary refs log tree commit diff
path: root/Functions/Zle/incremental-complete-word
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-08-05 15:44:18 +0200
committerOliver Kiddle <opk@zsh.org>2015-08-05 15:44:18 +0200
commit8bbfbfebbc13e9bd2165aba94a681aadc6b8566b (patch)
tree08ebe09b3c7c75573ef55cebbefb548f0c33e45a /Functions/Zle/incremental-complete-word
parent32669e77f4c43dead3cbde9d7c76bf4ef2c9382c (diff)
downloadzsh-8bbfbfebbc13e9bd2165aba94a681aadc6b8566b.tar.gz
zsh-8bbfbfebbc13e9bd2165aba94a681aadc6b8566b.tar.xz
zsh-8bbfbfebbc13e9bd2165aba94a681aadc6b8566b.zip
unposted (c.f. Bart: 35902): use - after zle -U in case $key is -
Diffstat (limited to 'Functions/Zle/incremental-complete-word')
-rw-r--r--Functions/Zle/incremental-complete-word2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/incremental-complete-word b/Functions/Zle/incremental-complete-word
index 67a9d4744..ccc007543 100644
--- a/Functions/Zle/incremental-complete-word
+++ b/Functions/Zle/incremental-complete-word
@@ -69,7 +69,7 @@ incremental-complete-word() {
            '#key' -ne '#\\C-g' ]]; do
     twid=$wid
     if [[ "$key" = ${~stop} ]]; then
-      zle -U "$key"
+      zle -U - "$key"
       return
     elif [[ "$key" = ${~brk} ]]; then
       return