zsh-workers
 help / color / mirror / code / Atom feed
* history-incremental-search-backward weird behavior for multiline commands in 5.0.x
@ 2014-07-16 12:48 Augie Fackler
  2014-07-16 16:10 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Augie Fackler @ 2014-07-16 12:48 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

I upgraded my work machine from zsh 4.3.17 to zsh 5.0.5 (also tested 5.0.2
first, as that was what was in apt), and now
history-incremental-search-backward doesn't work correctly for multiline
history entries loaded from a history file on disk. As an example:

$ echo foo \
>  bar
foo bar
$ ^R bar
# finds the full command

but then in a new shell:
$ ^R bar
# finds only the word bar, not the full echo command.

This works fine in zsh 4.3.17 and zsh 4.3.11 (I get the same behavior even
if the history entry was loaded from a file).

Am I missing something obvious? setopt hist_lex_words didn't make a
difference, and I tried turning off hist_save_no_dups and
inc_append_history.

Thanks!

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

end of thread, other threads:[~2014-07-17 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16 12:48 history-incremental-search-backward weird behavior for multiline commands in 5.0.x Augie Fackler
2014-07-16 16:10 ` Bart Schaefer
2014-07-16 16:30   ` Peter Stephenson
2014-07-16 17:54     ` Bart Schaefer
2014-07-16 18:59       ` Peter Stephenson
2014-07-17 13:02         ` Augie Fackler

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