zsh-workers
 help / color / mirror / code / Atom feed
From: Yefim Vedernikoff <hi@yef.im>
To: zsh-workers@zsh.org
Subject: feature request
Date: Thu, 16 Jan 2020 17:10:03 -0500	[thread overview]
Message-ID: <CAPpbRf4oedgkPqr2ZpvOeBg7vOESz52RdYRZ=Q2ARUOsk4jWRQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

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).

-Yefim

             reply	other threads:[~2020-01-16 22:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16 22:10 Yefim Vedernikoff [this message]
2020-01-16 22:18 ` Eric Cook
2020-01-16 23:17 ` Andreas Kusalananda Kähäri
2020-01-16 23:57 ` Daniel Shahaf
2020-01-17  1:49 ` Sebastian Gniazdowski
2020-01-17  2:51   ` Sebastian Gniazdowski
2020-01-17  2:35 ` Martijn Dekker
2020-01-18 18:59   ` Vincent Lefevre

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='CAPpbRf4oedgkPqr2ZpvOeBg7vOESz52RdYRZ=Q2ARUOsk4jWRQ@mail.gmail.com' \
    --to=hi@yef.im \
    --cc=zsh-workers@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).