Fix repeat search with HIST_FIND_NO_DUPS.
This commit is contained in:
parent
b546105d7e
commit
3e64e0e9fa
1 changed files with 5 additions and 0 deletions
|
|
@ -190,6 +190,11 @@ _history-substring-search-begin() {
|
|||
return;
|
||||
fi
|
||||
|
||||
#
|
||||
# Clear the previous result.
|
||||
#
|
||||
_history_substring_search_result=''
|
||||
|
||||
if [[ -z $BUFFER ]]; then
|
||||
#
|
||||
# If the buffer is empty, we will just act like up-history/down-history
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue