Added
Link Here
|
1 |
--- Src/Zle/compresult.c.orig 2008-05-07 10:19:11.000000000 -0300 |
2 |
+++ Src/Zle/compresult.c 2008-05-07 10:19:35.000000000 -0300 |
3 |
@@ -1188,6 +1188,12 @@ |
4 |
{ |
5 |
int was_meta; |
6 |
|
7 |
+ /* Just list the matches if the list was requested. */ |
8 |
+ if (lst == COMP_LIST_COMPLETE) { |
9 |
+ showinglist = -2; |
10 |
+ return; |
11 |
+ } |
12 |
+ |
13 |
/* Already metafied when called from domenuselect already */ |
14 |
if (zlemetaline == NULL) { |
15 |
was_meta = 0; |
16 |
@@ -1195,12 +1201,6 @@ |
17 |
} else |
18 |
was_meta = 1; |
19 |
|
20 |
- /* Just list the matches if the list was requested. */ |
21 |
- if (lst == COMP_LIST_COMPLETE) { |
22 |
- showinglist = -2; |
23 |
- return; |
24 |
- } |
25 |
- |
26 |
/* Otherwise go to the next match in the array... */ |
27 |
do { |
28 |
if (!*++(minfo.cur)) { |