Open
Description
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.