mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 18:24:18 +00:00
18191: from Greg Klanderman: compctl -y didn't respect list arrangement
options listpacked and listrowsfirst.
This commit is contained in:
parent
590a26709a
commit
809ab19dff
|
@ -1,3 +1,9 @@
|
|||
2003-02-06 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Greg Klanderman <gak@klanderman.net>: 18191:
|
||||
Src/Zle/compresult.c: `compctl -y' didn't obey the listpacked
|
||||
and listrowsfirst options.
|
||||
|
||||
2003-02-05 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 18195: Doc/Zsh/builtins.yo Src/builtin.c Src/utils.c
|
||||
|
|
|
@ -1408,6 +1408,13 @@ calclist(int showall)
|
|||
g->flags |= CGF_PACKED | CGF_ROWS;
|
||||
|
||||
if (!onlyexpl && pp) {
|
||||
if (*pp) {
|
||||
if (!isset(LISTPACKED))
|
||||
g->flags &= ~CGF_PACKED;
|
||||
if (!isset(LISTROWSFIRST))
|
||||
g->flags &= ~CGF_ROWS;
|
||||
}
|
||||
|
||||
/* We have an ylist, lets see, if it contains newlines. */
|
||||
hidden = 1;
|
||||
while (!nl && *pp) {
|
||||
|
|
Loading…
Reference in a new issue