@@ -204,6 +204,7 @@ ${0}:precmd() {
204
204
return 0
205
205
}
206
206
207
+ # function -T
207
208
.autocomplete:async:start () {
208
209
local fd=
209
210
sysopen -r -o cloexec -u fd <(
@@ -216,6 +217,7 @@ ${0}:precmd() {
216
217
command true
217
218
}
218
219
220
+ # function -T
219
221
.autocomplete:async:start:inner () {
220
222
{
221
223
typeset -F SECONDS=0
@@ -271,6 +273,7 @@ ${0}:precmd() {
271
273
}
272
274
}
273
275
276
+ # function -T
274
277
.autocomplete:async:pty () {
275
278
# Make sure this shell dies after it times out.
276
279
local -F seconds=
@@ -290,6 +293,7 @@ ${0}:precmd() {
290
293
:
291
294
}
292
295
296
+ # function -T
293
297
.autocomplete:async:pty:zle-widget () {
294
298
local -a _autocomplete__comp_mesg=()
295
299
local -i _autocomplete__list_lines=0
@@ -312,6 +316,7 @@ ${0}:precmd() {
312
316
}
313
317
} 2>> | $_autocomplete__log
314
318
319
+ # function -T
315
320
.autocomplete:async:pty:completion-widget () {
316
321
{
317
322
if ! .autocomplete:async:sufficient-input; then
@@ -320,7 +325,7 @@ ${0}:precmd() {
320
325
{
321
326
unfunction compadd 2> /dev/null
322
327
unset ' compstate[vared]'
323
- autocomplete:_main_complete:new
328
+ . autocomplete:async:list-choices:main-complete
324
329
} always {
325
330
_autocomplete__list_lines=$compstate [list_lines]
326
331
}
0 commit comments