From 637926a7fd16aec783695232abb3ee20b6f4585b Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 8 Oct 2023 14:49:07 +0200 Subject: [PATCH] env: fix porting regression recording inherited vars --- fish-rust/src/env/environment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish-rust/src/env/environment.rs b/fish-rust/src/env/environment.rs index 385c40b63..9025aea19 100644 --- a/fish-rust/src/env/environment.rs +++ b/fish-rust/src/env/environment.rs @@ -548,8 +548,8 @@ pub fn env_init(paths: Option<&ConfigPaths>, do_uvars: bool, default_paths: bool if key != "fish_user_paths" { vars.set(&key, EnvMode::EXPORT | EnvMode::GLOBAL, vec![val.clone()]); } - inherited_vars.insert(key, val); } + inherited_vars.insert(key, val); } INHERITED_VARS