zsh-users
 help / color / mirror / code / Atom feed
* Cannot use LBUFFER+= nor print -zr from zsh/sched call
@ 2016-09-11  9:28 Sebastian Gniazdowski
  2016-09-11 10:35 ` Sebastian Gniazdowski
  2016-09-12  0:58 ` Bart Schaefer
  0 siblings, 2 replies; 13+ messages in thread
From: Sebastian Gniazdowski @ 2016-09-11  9:28 UTC (permalink / raw)
  To: Zsh Users

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-09-14 10:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-11  9:28 Cannot use LBUFFER+= nor print -zr from zsh/sched call Sebastian Gniazdowski
2016-09-11 10:35 ` Sebastian Gniazdowski
2016-09-12  1:13   ` Bart Schaefer
2016-09-12 15:06     ` Bart Schaefer
2016-09-12 15:24       ` Sebastian Gniazdowski
2016-09-12 17:34         ` Bart Schaefer
2016-09-13 15:44           ` Sebastian Gniazdowski
2016-09-13 16:55             ` Bart Schaefer
2016-09-13 17:29               ` Sebastian Gniazdowski
2016-09-14  1:47                 ` Bart Schaefer
2016-09-14  5:13                   ` Sebastian Gniazdowski
2016-09-12  0:58 ` Bart Schaefer
2016-09-12  8:49   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).