From 8870c7e2793543f0de7450b3c2f6a839f9fdc8e0 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 17 Sep 2011 13:50:06 -0400 Subject: [PATCH] fix #2: always use up/down-line-or-history --- zsh-history-substring-search.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh-history-substring-search.zsh b/zsh-history-substring-search.zsh index 19f87cb..9c16030 100644 --- a/zsh-history-substring-search.zsh +++ b/zsh-history-substring-search.zsh @@ -356,7 +356,7 @@ function _history-substring-search-up-history() { # going up from somewhere below the top of history else - zle up-history + zle up-line-or-history fi return true @@ -379,7 +379,7 @@ function _history-substring-search-down-history() { # going down from somewhere above the bottom of history else - zle down-history + zle down-line-or-history fi return true