From bf3a6022d194091aed18ae83e81803f87635e663 Mon Sep 17 00:00:00 2001 From: Nbiba Bedis Date: Sun, 6 Oct 2024 20:52:28 +0100 Subject: [PATCH] allow partial config --- crates/irust/src/irust/options.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/irust/src/irust/options.rs b/crates/irust/src/irust/options.rs index 14780b5..62f5b4a 100644 --- a/crates/irust/src/irust/options.rs +++ b/crates/irust/src/irust/options.rs @@ -5,6 +5,7 @@ use serde::{Deserialize, Serialize}; use std::io::{Read, Write}; #[derive(Deserialize, Serialize, Clone, Debug)] +#[serde(default)] pub struct Options { add_irust_cmd_to_history: bool, add_shell_cmd_to_history: bool,