From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24469 invoked from network); 21 Feb 2004 00:54:43 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Feb 2004 00:54:43 -0000 Received: (qmail 4781 invoked by alias); 21 Feb 2004 00:54:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7071 Received: (qmail 4749 invoked from network); 21 Feb 2004 00:54:28 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 21 Feb 2004 00:54:28 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 21 Feb 2004 0:54:28 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AuLPY-0006HV-00 for ; Sat, 21 Feb 2004 01:54:28 +0100 Received: from isi-dialin-129-88.isionline-dialin.de ([195.158.129.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 00:54:28 2004 Received: from thorsten by isi-dialin-129-88.isionline-dialin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 00:54:28 2004 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Thorsten Kampe Subject: Re: incremental history search Date: Sat, 21 Feb 2004 01:54:24 +0100 Message-ID: References: <1lk8q9de9jvbv.dlg@thorstenkampe.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: isi-dialin-129-88.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de Sender: news * Björn Lindström (2004-02-21 00:20 +0100) > Thorsten Kampe writes: >> Is it possible to make zsh search for matches of the whole command >> line ("wget http") - and not only the first word? > > Have you tried C-r and C-s? C-s just freezes the display and can be unlocked by C-q. C-r is partly the function I want (although "wget http" also matches for example "cd tmp; wget http://foo.com"). But C-r is not very convenient as it disrupts the normal way of typing: it doesn't use what I already typed: % wget C-r bck-i-search: _ Normally I type something what's in my mind and at a certain character realise that this or a similar command line should already be in history and that letting zsh find it should be much faster. I simply don't understand why the normal "down-line-or-search" only searches for the first word and not the whole command line. Looks like nonsense to me... Thorsten