Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: feature request

On Fri, 17 Jan 2020 at 02:49, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
> 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.

Also, you could look at:


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