From: Thorsten Kampe <thorsten@thorstenkampe.de>
To: zsh-users@sunsite.dk
Subject: Re: incremental history search
Date: Sat, 21 Feb 2004 01:54:24 +0100 [thread overview]
Message-ID: <l3e010qnw4o7$.dlg@thorstenkampe.de> (raw)
In-Reply-To: <s38brnt9w4e.fsf@numerus.ling.uu.se>
* Björn Lindström (2004-02-21 00:20 +0100)
> Thorsten Kampe <thorsten@thorstenkampe.de> 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
next prev parent reply other threads:[~2004-02-21 0:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-20 23:04 Thorsten Kampe
2004-02-20 23:20 ` Björn Lindström
2004-02-21 0:54 ` Thorsten Kampe [this message]
2004-02-21 1:19 ` Philippe Troin
2004-02-21 2:43 ` Thorsten Kampe
2004-02-21 1:17 ` Eric Mangold
2004-02-21 1:35 ` Thorsten Kampe
2004-02-21 3:07 ` Eric Mangold
2004-02-21 13:52 ` Thorsten Kampe
2004-02-21 14:39 ` Anthony Iano-Fletcher
2004-02-21 15:50 ` Thorsten Kampe
2004-02-21 19:00 ` Bart Schaefer
2004-03-11 23:50 ` Thorsten Kampe
2004-02-21 23:56 ` Eric Mangold
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='l3e010qnw4o7$.dlg@thorstenkampe.de' \
--to=thorsten@thorstenkampe.de \
--cc=zsh-users@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).