1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-06 11:20:57 +01:00
lethliel 49c1e9e8ff command substitution should be done by compgen
which is much faster.

builtin compgen -W "${list[*]}" -- "${cur}" | sed -r "s@^${colon_word}@@g"
--> 1 minute 20 seconds

builtin compgen -W 'cat ${projects}' -- "${cur}" | sed -r "s@^${colon_word}@@g"
--> 4 seconds
2020-03-08 20:29:06 +01:00
..
2013-05-21 20:11:33 +02:00