fix #2: always use up/down-line-or-history

This commit is contained in:
Sorin Ionescu
2011-09-17 14:07:31 -04:00
parent 9d3683b3d3
commit 8870c7e279
+2 -2
View File
@@ -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