diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2005-12-05 05:42:07 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2005-12-05 05:42:07 +0000 |
| commit | 98c7796a3ab8a324eead2f4b14910fac8f10325a (patch) | |
| tree | bbdd110adc14fb071d1bc4d26aafabbcc08a83cf | |
| parent | 22049: bug exiting from sourced file within function (diff) | |
| download | zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.gz zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.bz2 zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.lz zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.xz zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.tar.zst zsh-98c7796a3ab8a324eead2f4b14910fac8f10325a.zip | |
Changes implied by users/9744.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | Functions/Zle/keeper | 6 |
2 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-12-04 Bart Schaefer <schaefer@zsh.org> + + * unposted (cf. users/9744): Functions/Zle/keeper: call + _expand_word from _expand_word_and_keep so that completion context + is not changed; add most-specific zstyle necessary to identify the + all-expansions group within _expand_word_and_keep. + 2005-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> * 22049: Src/init.c: "exit" within sourced file within shell 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 '' |
