From: Andrey Borzenkov <arvidjaar@newmail.ru>
To: zsh-users@sunsite.dk, Tejasvi Aswathanarayana <tejasvia@gmail.com>
Subject: Re: Reverse history searching in zsh
Date: Mon, 18 Apr 2005 22:31:48 +0400 [thread overview]
Message-ID: <200504182231.55007.arvidjaar@newmail.ru> (raw)
In-Reply-To: <a69fc5405041810583c678050@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 932 bytes --]
On Monday 18 April 2005 21:58, Tejasvi Aswathanarayana wrote:
> I have been hearing about ZSH for quite sometime now. I have been
> hesitant to move coz I am not sure if ZSH has this one "cool" feature
> of bash, the reverse-search, which searches the history in reverse
> order and gets you the matches.... This is one heck of a feature that
> I wouldnt want to miss in my shell.
> (Ctrl-R to activate the reverse search)
>
> < /home/k00ld00d >
> (reverse-i-search)`cp': sudo cp arch/i386/boot/bzImage /boot/bzImage.kusp
>
>
> Does anybody know if zsh has this feature...
yes it does. It is called history-incremental-search-backward in zsh and is
bound to ^R by default in emacs key bindings:
{pts/1}% bindkey -L | grep back
...
bindkey "^R" history-incremental-search-backward
(it is possible that bash and zsh inplementations are slightly different, I do
not use bash on regular basis).
-andrey
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-04-18 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 17:58 Tejasvi Aswathanarayana
2005-04-18 18:31 ` Andrey Borzenkov [this message]
2005-04-18 18:55 ` Nikolai Weibull
2005-04-19 2:08 ` Wayne Davison
2005-04-20 7:15 ` Felix Rosencrantz
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=200504182231.55007.arvidjaar@newmail.ru \
--to=arvidjaar@newmail.ru \
--cc=tejasvia@gmail.com \
--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).