Skip to content

Add enhanced search querying #1455

Open
@ellie

Description

@ellie

While we have filter modes, Atuin does not do an amazing job of exposing the contextual information we store in the TUI search

It would be great if searches could work like this in the TUI:

cargo build cwd:~/src exit:0

This would do a normal search for cargo build, but specify that it should only apply to commands that exited successfully in the ~/src dir

We'd probably want to implement the following

name function
after filtering history after a date
before filtering history before a date
cwd filtering by directory
exit filter exit codes
duration filter by command duratio
host filter by hostname (maybe hold off until host aliasing)

Using a proper search engine/index here means that we can search + score results based on a bunch of factors, better using the context we have to provide search results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions