You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought disabling HISTORY_SUBSTRING_SEARCH_FUZZY would also disable search pattern *abc* but that's not the case.
local search_pattern="*${(j:*:)_history_substring_search_query_parts[@]//(#m)[\][()|\\*?#<>~^]/\\$MATCH}*"
Pattern always starts with a *. Fuzzy searching as I imagined would leave the position of a substring the same in the query. Search results for disabled fuzzy searching should always start with abc then match fuzzy abc*d*
The text was updated successfully, but these errors were encountered:
SephVelut
changed the title
History search results after the substring
History search results after the substring should not be fuzzy
Jun 11, 2018
I thought disabling HISTORY_SUBSTRING_SEARCH_FUZZY would also disable search pattern
*abc*
but that's not the case.local search_pattern="*${(j:*:)_history_substring_search_query_parts[@]//(#m)[\][()|\\*?#<>~^]/\\$MATCH}*"
Pattern always starts with a
*
. Fuzzy searching as I imagined would leave the position of a substring the same in the query. Search results for disabled fuzzy searching should always start withabc
then match fuzzyabc*d*
The text was updated successfully, but these errors were encountered: