mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
don't hide possible completions if there is only one and at the same time messages are shown (12394)
This commit is contained in:
parent
07f5680abb
commit
97a345de50
@ -1,3 +1,9 @@
|
||||
2000-07-27 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 12394: Completion/Core/_main_complete: don't hide possible
|
||||
completions if there is only one and at the same time messages are
|
||||
shown
|
||||
|
||||
2000-07-26 Adam Spiers <adam@spiers.net>
|
||||
|
||||
* unposted: Completion/User/_perl: -e, -I, -m and -M parameters
|
||||
|
@ -266,7 +266,7 @@ if [[ $compstate[old_list] = keep || nm -gt 1 ]]; then
|
||||
fi
|
||||
elif [[ nm -le 1 && -n "$_comp_mesg" ]]; then
|
||||
compstate[insert]=''
|
||||
compstate[list]='list force messages'
|
||||
compstate[list]='list force'
|
||||
elif [[ nm -eq 0 && -z "$_comp_mesg" &&
|
||||
$#_lastdescr -ne 0 && $compstate[old_list] != keep ]] &&
|
||||
zstyle -s ":completion:${curcontext}:warnings" format format; then
|
||||
|
Loading…
Reference in New Issue
Block a user