From: "E. Jay Berkenbilt" <ejb@ql.org>
To: duvall@lorien.emufarm.org
Cc: zsh-users@sunsite.auc.dk
Subject: Re: more tcsh-like history-search capability
Date: Wed, 18 Oct 2000 23:57:40 -0400 [thread overview]
Message-ID: <200010190357.XAA02212@soup.ql.org> (raw)
In-Reply-To: <20001017200747.A28158@lorien.emufarm.org> (message from Danek Duvall on Tue, 17 Oct 2000 20:07:47 -0700)
> > By default, zsh's history-search functions look through history for
> > lines whose first word starts with the first word on the command line.
> > I prefer to search for commands that start with the string before the
> > cursor.
>
> So do I. And zsh even has these built-in:
>
> history-beginning-search-backward
> history-beginning-search-forward
>
> :)
Wow. It does *exactly* what my code does. I even looked for
something in the documentation but I guess I missed it. Oh well --
yet another wheel reinvention. Thanks for bringing this to my
attention. :-)
At least my reinvented wheel was still round. :-)
Jay
prev parent reply other threads:[~2000-10-19 3:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-18 0:31 E. Jay Berkenbilt
2000-10-18 3:07 ` Danek Duvall
2000-10-19 3:57 ` E. Jay Berkenbilt [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=200010190357.XAA02212@soup.ql.org \
--to=ejb@ql.org \
--cc=duvall@lorien.emufarm.org \
--cc=zsh-users@sunsite.auc.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).