mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 16:50:58 +01:00
Changes implied by users/9744.
This commit is contained in:
parent
bf3ee0f725
commit
98c7796a3a
2 changed files with 12 additions and 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
|
||||
|
|
|
|||
|
|
@ -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 ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue