From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: history idea
Date: Thu, 28 Apr 2005 15:09:02 +0000 [thread overview]
Message-ID: <1050428150902.ZM31674@candle.brasslantern.com> (raw)
In-Reply-To: <20050428065205.GC6338@a5.repetae.net>
On Apr 27, 11:52pm, Frederik Eaton wrote:
}
} It is to add a mechanism to zsh so that when the shell executes a
} command, the command can communicate back to shell some lines which
} should be added to the end of the history.
This would be possible with a module. The trouble is that it would
require that every command that wants to use it must also be modified
to perform the other end of the protocol.
A better (?) idea is similar to one the completion system already makes
use of: Tell zsh how to parse the history files already maintained by
other apps, and add widgets (or configurations for a widget, e.g., the
completion functions) for pulling values from those files onto the zsh
command line.
That also avoids this problem:
} Of course, if you used such a feature, your history would become full
} of crap that you'd never care about. Navigating it with
} "{down,up}-line-or-history" after a long browser session would be
} impractical. You'd have to switch to using the history search
} commands.
Parsing the apps' own history files keeps each set of commands separate,
so that the true shell history doesn't get cluttered.
prev parent reply other threads:[~2005-04-28 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 6:52 Frederik Eaton
2005-04-28 15:09 ` Bart Schaefer [this message]
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=1050428150902.ZM31674@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-workers@sunsite.dk \
/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).