Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: feature request
- X-seq: zsh-workers 45320
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Yefim Vedernikoff <hi@xxxxxx>
- Subject: Re: feature request
- Date: Fri, 17 Jan 2020 02:49:16 +0100
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- 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>
On Thu, 16 Jan 2020 at 23:11, Yefim Vedernikoff <hi@xxxxxx> wrote:
>
> 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).
I have a plugin in my TODO that would be defining global aliases OUT,
OUT2, etc. for the previous command's output, etc. It'll be based on
tmux capture-pane command. I'm not sure when the project will start,
any cooperation could speed this up.
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author