From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5312 invoked from network); 19 Oct 2000 03:57:57 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Oct 2000 03:57:57 -0000 Received: (qmail 11128 invoked by alias); 19 Oct 2000 03:57:41 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3462 Received: (qmail 11120 invoked from network); 19 Oct 2000 03:57:41 -0000 Date: Wed, 18 Oct 2000 23:57:40 -0400 Message-Id: <200010190357.XAA02212@soup.ql.org> X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f From: "E. Jay Berkenbilt" To: duvall@lorien.emufarm.org CC: zsh-users@sunsite.auc.dk In-reply-to: <20001017200747.A28158@lorien.emufarm.org> (message from Danek Duvall on Tue, 17 Oct 2000 20:07:47 -0700) Subject: Re: more tcsh-like history-search capability > > 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