Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
incremental history search
- X-seq: zsh-users 7068
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: incremental history search
- Date: Sat, 21 Feb 2004 00:04:00 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
I have bound[1] the cursor keys to "up-line-or-search" and
down-line-or-search. Unfortunately this only completes the first word
of the search; meaning when I type
wget http://foo.com
wget ftp://bar.com
and then...
wget http[up cursor]
...it completes to "wget ftp://bar.com" and not to the desired "wget
http://foo.com". It only searches matches for the first word ("wget")
of the already typed command line in history.
Is it possible to make zsh search for matches of the whole command
line ("wget http") - and not only the first word?
Thorsten
[1] bindkey "\e[A" up-line-or-search
bindkey "\e[B" down-line-or-search
Messages sorted by:
Reverse Date,
Date,
Thread,
Author