zsh-users
 help / color / mirror / code / Atom feed
* Please fix history-search-backward/forward
@ 2010-08-28 18:54 Felipe Contreras
  2010-08-28 20:55 ` Mikael Magnusson
  0 siblings, 1 reply; 6+ messages in thread
From: Felipe Contreras @ 2010-08-28 18:54 UTC (permalink / raw)
  To: zsh-users

Hi,

zle says:
Search backward in the history for a line beginning with the first
word in the buffer.

GNU readline says:
Search backward through the history for the string of characters
between the start of the current line and the point.

I don't see why anybody would want zle's behavior. When I type "git
check<TAB>"; I expect the whole text to be searched; if I wanted only
the first word, I would type only the first word "git <TAB>". There's
absolutely no advantage of zle's way.

Now, it possible to workaround that behavior through
history-search-end[1]. However, I would expect such basic
functionality to be a one-liner configuration, or even better, just
make zle's history-search-backward work like that by default.

Moreover, it seems nobody has found necessary to workaround readline's
behavior to mimic zle's behavior, and with good reason I think.

This is a small issue, but it would improve the initial experience of
people trying zsh.

[1] http://zsh.sourceforge.net/Doc/Release/User-Contributions.html

-- 
Felipe Contreras


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

end of thread, other threads:[~2010-08-30 17:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-28 18:54 Please fix history-search-backward/forward Felipe Contreras
2010-08-28 20:55 ` Mikael Magnusson
2010-08-28 22:23   ` Felipe Contreras
2010-08-28 22:33     ` Mikael Magnusson
2010-08-29  0:52       ` Felipe Contreras
2010-08-30 17:34         ` 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).