diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-04-18 08:18:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-18 08:18:15 +0100 |
| commit | 2fba4aae933c17f0024110dd9ec4a57d748cf867 (patch) | |
| tree | f59aaf3e4305921c13b110429153e4f711185244 /atuin-client/src | |
| parent | feat(gui): work on home page, sort state (#1956) (diff) | |
| download | atuin-2fba4aae933c17f0024110dd9ec4a57d748cf867.zip | |
feat: allow ignoring failed commands (#1957)
* feat: allow ignoring failed commands
* cleanup
Diffstat (limited to 'atuin-client/src')
| -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 541cb4d9..035af321 100644 --- a/atuin-client/src/settings.rs +++ b/atuin-client/src/settings.rs @@ -370,6 +370,7 @@ pub struct Settings { pub scroll_context_lines: usize, pub history_format: String, pub prefers_reduced_motion: bool, + pub store_failed: bool, #[serde(with = "serde_regex", default = "RegexSet::empty")] pub history_filter: RegexSet, @@ -645,6 +646,7 @@ impl Settings { .set_default("keymap_mode_shell", "auto")? .set_default("keymap_cursor", HashMap::<String, String>::new())? .set_default("smart_sort", false)? + .set_default("store_failed", true)? .set_default( "prefers_reduced_motion", std::env::var("NO_MOTION") |
