zsh-users
 help / color / mirror / code / Atom feed
* history-incremental-search-backward with a twist
@ 2001-09-28 21:16 Hannu Koivisto
  2001-09-29  1:41 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Hannu Koivisto @ 2001-09-28 21:16 UTC (permalink / raw)
  To: Zsh Users' List

Greetings,

What would I have to do if I wanted to have commands that work just
like history-incremental-search-{forward,backward} but consider
only history elements that start with what is written on the
command line at the time of invocation of such a searching command?
That is, if I say...

scp -r ssdlkjsd foo:<RET>
echo foo<RET>
scp^Rfoo

...with such a modified history-incremental-search-backward command
bound to ^R, I'd like it to find that first line immediately and
not "echo foo" which is what current
history-incremental-search-backward would find.

-- 
Hannu
Please don't send copies of list mail


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-09-29 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-28 21:16 history-incremental-search-backward with a twist Hannu Koivisto
2001-09-29  1:41 ` Bart Schaefer
2001-09-29  2:41   ` Bart Schaefer
2001-09-29 14:51     ` Hannu Koivisto
2001-09-29 17:17       ` Bart Schaefer

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).