From: Frank Terbeck Date: Thu, 8 Oct 2009 09:31:07 +0000 (+0200) Subject: Use *-pattern-* for incremental history searches X-Git-Tag: v0.3.76~2 X-Git-Url: https://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=0e01127a5a221a4e567fc30f17445b98d26f5e08 Use *-pattern-* for incremental history searches --- diff --git a/debian/changelog b/debian/changelog index 05b3902..c8e2dd3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ grml-etc-core (0.3.76) UNRELEASED; urgency=low * zshrc: add openssl hash functions [Closes: issue741] + * zshrc: use history-incremental-pattern-search-* for incremental history + searches per default (via ^r and ^s). - -- Frank Terbeck Mon, 21 Sep 2009 13:20:36 +0200 + -- Frank Terbeck Thu, 08 Oct 2009 11:29:38 +0200 grml-etc-core (0.3.75) unstable; urgency=low diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2dadf9c..43e77a1 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -622,6 +622,11 @@ zle -N slash-backward-kill-word #k# Kill everything in a word up to its last \kbd{/} bindkey '\ev' slash-backward-kill-word +# use the new *-pattern-* widgets for incremental history search +if is439 ; then + bindkey '^r' history-incremental-pattern-search-backward + bindkey '^s' history-incremental-pattern-search-forward +fi # }}} # a generic accept-line wrapper {{{