From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Cannot use LBUFFER+= nor print -zr from zsh/sched call
Date: Sun, 11 Sep 2016 11:28:29 +0200 [thread overview]
Message-ID: <CAKc7PVCiy_phpQb=DTR-Td5ktDL2cDK=y_tUE3bTXVXVTm2AXA@mail.gmail.com> (raw)
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
next reply other threads:[~2016-09-11 11:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-11 9:28 Sebastian Gniazdowski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKc7PVCiy_phpQb=DTR-Td5ktDL2cDK=y_tUE3bTXVXVTm2AXA@mail.gmail.com' \
--to=sgniazdowski@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).