awful.completion: sort matches
Signed-off-by: koniu <gkusnierz@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9c70c77fb2
commit
8b36cb7ce4
|
@ -137,7 +137,8 @@ function shell(command, cur_pos, ncomp, shell)
|
|||
return command, cur_pos
|
||||
end
|
||||
|
||||
-- cycle
|
||||
-- sort and cycle
|
||||
table.sort(output)
|
||||
while ncomp > #output do
|
||||
ncomp = ncomp - #output
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue