mirror of
https://github.com/zsh-users/zsh
synced 2024-07-21 10:14:19 +00:00
18926: problem accepting filename require metafication with menu selection
This commit is contained in:
parent
c2ed9f96a7
commit
1f8c031467
|
@ -1,3 +1,9 @@
|
|||
2003-08-05 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 18926: Src/Zle/complist.c: fix (without knowing how) insertion
|
||||
of file names requiring metafication into the command line on
|
||||
a successful menu selection.
|
||||
|
||||
2003-08-01 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 18920: Src/utils.c, Completion/Core/Base/_main_complete: update
|
||||
|
|
|
@ -2801,7 +2801,9 @@ domenuselect(Hookdef dummy, Chdata dat)
|
|||
acc = 1;
|
||||
break;
|
||||
}
|
||||
metafy_line();
|
||||
do_single(**p);
|
||||
unmetafy_line();
|
||||
mselect = (**p)->gnum;
|
||||
}
|
||||
if (u)
|
||||
|
@ -2817,7 +2819,9 @@ domenuselect(Hookdef dummy, Chdata dat)
|
|||
clearlist = listshown = 1;
|
||||
if (acc && validlist && minfo.cur) {
|
||||
menucmp = lastambig = hasoldlist = 0;
|
||||
metafy_line();
|
||||
do_single(*(minfo.cur));
|
||||
unmetafy_line();
|
||||
}
|
||||
if (wasnext || broken) {
|
||||
menucmp = 2;
|
||||
|
|
Loading…
Reference in a new issue