add(atuin): history_filter

This commit is contained in:
Léana 江 2024-02-25 14:10:02 +01:00 committed by Léana 江
parent c3dff3c1f2
commit d3ea20f36b
2 changed files with 15 additions and 8 deletions

View file

@ -0,0 +1,14 @@
{
programs.atuin = {
enable = true;
flags = ["--disable-up-arrow"];
settings = {
history_filter = [
"^ *echo" # sometimes I pipe secrets to files
"-----BEGIN PGP PRIVATE KEY BLOCK-----"
];
style = "full";
show_preview = true;
};
};
}