From 98c7796a3ab8a324eead2f4b14910fac8f10325a Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 5 Dec 2005 05:42:07 +0000 Subject: Changes implied by users/9744. --- Functions/Zle/keeper | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Functions/Zle/keeper') 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 '' -- cgit v1.2.3