Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
history-incremental-search-backward weird behavior for multiline commands in 5.0.x
- X-seq: zsh-workers 32869
- From: Augie Fackler <raf@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: history-incremental-search-backward weird behavior for multiline commands in 5.0.x
- Date: Wed, 16 Jul 2014 08:48:41 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=durin42.com; h= mime-version:date:message-id:subject:from:to:content-type; s= durin42.com; bh=AHGsp3f+mm8ovH6hz8OTgTfHa04=; b=N8Htj4u8JjW3yZPh 1l0tb+DviFwBiOkNIDb14AwWvKYL5kL07hIDcJWMR8GoEyBm8LpWmD4VqeQ8YkuG jxI5b6HFpDqYbeR/pUJpNCdIZ3K9joB6HI/PL/LeB/zOrZQ3lJqnweGYFxvp9wOM St1LnbiEtO4Xt2NodaREPjfRCUY=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author