about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2005-12-05 05:42:07 +0000
committerBart Schaefer <barts@users.sourceforge.net>2005-12-05 05:42:07 +0000
commit98c7796a3ab8a324eead2f4b14910fac8f10325a (patch)
treebbdd110adc14fb071d1bc4d26aafabbcc08a83cf /Functions
parentbf3ee0f725411f3829f3b646692eaec14f03776d (diff)
downloadzsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.gz
zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.xz
zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.zip
Changes implied by users/9744.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/keeper6
1 files changed, 5 insertions, 1 deletions
diff --git a/Functions/Zle/keeper b/Functions/Zle/keeper
index 2a721113d..c29b22d6f 100644
--- a/Functions/Zle/keeper
+++ b/Functions/Zle/keeper
@@ -79,7 +79,11 @@ _expand_word_and_keep() {
         fi
         builtin compadd "$@"
     }
-    { _main_complete _expand } always { unfunction compadd }
+    { _expand_word } always { unfunction compadd }
 }
 
 zle -C _expand_word complete-word _expand_word_and_keep
+
+# This style is required to segregate the all-expansions group for
+# purposes of _expand_word_and_keep.
+zstyle ':completion:expand-word:expand:::all-expansions' group-name ''