1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-20 11:10:25 +02:00
This commit is contained in:
Sven Wischnowsky 2001-08-16 08:07:41 +00:00
parent 16372ce057
commit 1a1d270e13
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-16 Sven Wischnowsky <wischnow@zsh.org>
* 15638: Completion/Base/Completer/_approximate: make sure that
there is one of the group-options before using it
2001-08-15 Geoff Wing <gcw@zsh.org>
* 15621: Src/Zle/zle_refresh.c: display of status line was being

View File

@ -59,7 +59,8 @@ if (( ! $+functions[compadd] )); then
PREFIX="(#a${_comp_correct})$PREFIX"
# fi
(( $_correct_group )) && _correct_expl[_correct_group]=${argv[(R)-*[JV]]}
(( $_correct_group && $argv[(I)-*[JV]] )) &&
_correct_expl[_correct_group]=${argv[(R)-*[JV]]}
builtin compadd "$_correct_expl[@]" "$@"
}