diff options
| author | Kjetil Jørgensen <kjetijor+github@gmail.com> | 2023-05-01 19:55:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-02 02:55:54 +0000 |
| commit | 244a501cbbdc66a5c5fa3de220ca9257198fc4aa (patch) | |
| tree | 6692b2a84699b797b1ef26be136881e0a6fbea43 /atuin-client/src/settings.rs | |
| parent | add nu section to keybind docs (#881) (diff) | |
| download | atuin-244a501cbbdc66a5c5fa3de220ca9257198fc4aa.zip | |
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
Diffstat (limited to 'atuin-client/src/settings.rs')
| -rw-r--r-- | atuin-client/src/settings.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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. |
