Skip to content

Allow more complex interactive search of history, history command with regex #3136

@rocketraman

Description

@rocketraman

It would be nice if when doing a history search, I could start from a regex. For example, if my history contained:

foo bar baz

I should be able to type:

foo.*baz with an Alt-Up [1] and find foo bar baz.

On a related note, even history --search doesn't seem to work with regexes -- one has to grep it for equivalent behavior.

[1] I'm not sure if this should be the default behavior or gated behind a separate key combo from a regular history traversal. Perhaps Ctrl-Alt-Up or something like that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions