X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=43e77a101d48ec8c0e44c69373f4636f0702865e;hb=0e01127a5a221a4e567fc30f17445b98d26f5e08;hp=2dadf9cc60c9fefe492a2ca9ba003267feffbbbf;hpb=6d72c14e22cc35f6443b933127b9d55e73427f06;p=grml-etc-core.git 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 {{{