From 244a501cbbdc66a5c5fa3de220ca9257198fc4aa Mon Sep 17 00:00:00 2001 From: Kjetil Jørgensen Date: Mon, 1 May 2023 19:55:54 -0700 Subject: cwd_filter: much like history_filter, only it applies to cwd (#904) * cwd_filter: much like history_filter, only it applies to cwd * appease clippy --- atuin-client/src/settings.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'atuin-client/src/settings.rs') diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs index 0a723fb2..7da83913 100644 --- a/atuin-client/src/settings.rs +++ b/atuin-client/src/settings.rs @@ -154,6 +154,8 @@ pub struct Settings { pub scroll_context_lines: usize, #[serde(with = "serde_regex", default = "RegexSet::empty")] pub history_filter: RegexSet, + #[serde(with = "serde_regex", default = "RegexSet::empty")] + pub cwd_filter: RegexSet, // This is automatically loaded when settings is created. Do not set in // config! Keep secrets and settings apart. -- cgit v1.3.1