mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 03:41:47 -05:00
Fix repeat search with HIST_FIND_NO_DUPS.
This commit is contained in:
@@ -190,6 +190,11 @@ _history-substring-search-begin() {
|
|||||||
return;
|
return;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Clear the previous result.
|
||||||
|
#
|
||||||
|
_history_substring_search_result=''
|
||||||
|
|
||||||
if [[ -z $BUFFER ]]; then
|
if [[ -z $BUFFER ]]; then
|
||||||
#
|
#
|
||||||
# If the buffer is empty, we will just act like up-history/down-history
|
# If the buffer is empty, we will just act like up-history/down-history
|
||||||
|
|||||||
Reference in New Issue
Block a user