diff --git a/src/commands/config.rs b/src/commands/config.rs index b1400207cc..c41c1d374a 100644 --- a/src/commands/config.rs +++ b/src/commands/config.rs @@ -111,6 +111,7 @@ pub fn config( if result.contains_key(&key) { result.remove(&key); + config::write_config(&result)?; } else { return Err(ShellError::string(&format!( "{} does not exist in config",