mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 11:41:49 -05:00
Merge pull request #5 from sorin-ionescu/issue-2
fix #2: always use up/down-line-or-history
This commit is contained in:
@@ -356,7 +356,7 @@ function _history-substring-search-up-history() {
|
|||||||
|
|
||||||
# going up from somewhere below the top of history
|
# going up from somewhere below the top of history
|
||||||
else
|
else
|
||||||
zle up-history
|
zle up-line-or-history
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return true
|
return true
|
||||||
@@ -379,7 +379,7 @@ function _history-substring-search-down-history() {
|
|||||||
|
|
||||||
# going down from somewhere above the bottom of history
|
# going down from somewhere above the bottom of history
|
||||||
else
|
else
|
||||||
zle down-history
|
zle down-line-or-history
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user