Skip to content

History search results after the substring should not be fuzzy #95

@SephVelut

Description

@SephVelut

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*

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions