1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-30 19:56:14 +01:00
github.com_openSUSE_osc/dist
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
..
complete.csh Make completion for osc smart 2013-05-21 20:11:33 +02:00
complete.sh Do not strip colon from COMP_WORDBREAKS (bnc#915037) 2015-06-24 20:35:41 +02:00
osc.complete command substitution should be done by compgen 2020-03-08 20:29:06 +01:00