Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: feature request
- X-seq: zsh-workers 45318
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: feature request
- Date: Thu, 16 Jan 2020 23:57:29 +0000
- In-reply-to: <CAPpbRf4oedgkPqr2ZpvOeBg7vOESz52RdYRZ=Q2ARUOsk4jWRQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAPpbRf4oedgkPqr2ZpvOeBg7vOESz52RdYRZ=Q2ARUOsk4jWRQ@mail.gmail.com>
Yefim Vedernikoff wrote on Thu, 16 Jan 2020 22:10 +00:00:
> What would it take to add a new environment variable like $OUTPUT to
> keep
> track of the last output? I like the $(!!) solution from
> https://stackoverflow.com/questions/24283097/reusing-output-from-last-command-in-bash
> but I don't like that it redoes the work (especially if the work is
> intensive).
Under tmux it might be solvable using «tmux list-panes -F
'#{history_size}'» in preexec() and «tmux capture-pane» afterwards.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author