Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Cannot use LBUFFER+= nor print -zr from zsh/sched call



Hello,
I do:

    zle .redisplay
    zle .kill-buffer
    LBUFFER+="${(j:; :)commands[@]}"
    print -zr "${(j:; :)commands[@]}"
    print -rl -- "${commands[@]}"

And command line isn't feed with the $commands. Whole code:

https://github.com/psprint/zconvey/blob/dc2656f1f8a91c7af03d344eab34644dfb8b96c3/zconvey.plugin.zsh#L183-L188


Is there workaround? How to feed commands to command line from sched call?

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author