Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Cannot use LBUFFER+= nor print -zr from zsh/sched call
- X-seq: zsh-users 21864
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Cannot use LBUFFER+= nor print -zr from zsh/sched call
- Date: Sun, 11 Sep 2016 11:28:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=BtS3RyJVQkVmAhtB9IIHW05hNYB7bIVQFCg8pl8YsWI=; b=JSlR/ygzTFiCP3tQGtoUoI4FIf0VgFr5UXA03QfMBGQLeJIBKL/i5k4kaT78IdWdRv aMgMw8TrjQz2OG7xaeKczsBoTB+2S2g9ZrY/WSVmG812TfkqdsH9v3SJRBcbdJsJxoBm wgzMdljGoOI9ecxFIOu9ymW7HvZrQ+j95YvXbGq/d7VEcYF64rmQTYmb3ZaaOQZfxnmj o+NEnHCwo0C5HcD6CQr2cIUjluDO/3C4fCBDrHpR1+Hzzw92s7Lr8rg2sAD5RN95eyP3 35D5kOHE0FZY1ZlMoIG84xkvL59vQ+mRgjwCCBzaablKKbsDC0J0ag8lKYH8YO2sUuoC DJWQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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