zsh-users
 help / color / mirror / code / Atom feed
From: Greg Badros <gjb@cs.washington.edu>
To: schaefer@nbn.com
Cc: zsh-users@math.gatech.edu
Subject: Re: How to make APPENDHISTORY useful?
Date: 13 Feb 1997 15:12:00 -0800	[thread overview]
Message-ID: <qrrsp30e1xb.fsf@forbidden.cs.washington.edu> (raw)
In-Reply-To: "Bart Schaefer"'s message of Thu, 13 Feb 1997 14:29:20 -0800

I've been thinking about this too.  What would be useful is to have an
option or mechanism to grep out only the "interesting" lines from the
history before saving them.  "Interesting" might mean a regular
expression; even more useful would be a way to keep the last couple of
executions of each command name (sometimes if I haven't used a command,
a good example from an earlier use [while I was looking at the man page]
is all I need).  Also "interesting" could be any pipeline, or multi-part
command.

This might be almost doable within the current framework, though still
having the problem about when to do the trimming down of the history.

Greg


  reply	other threads:[~1997-02-13 23:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-13 22:29 Bart Schaefer
1997-02-13 23:12 ` Greg Badros [this message]
1997-02-13 23:53 ` Wayne Davison
1997-02-14  1:10   ` Bart Schaefer

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=qrrsp30e1xb.fsf@forbidden.cs.washington.edu \
    --to=gjb@cs.washington.edu \
    --cc=schaefer@nbn.com \
    --cc=zsh-users@math.gatech.edu \
    /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).