env: fix porting regression recording inherited vars

This commit is contained in:
Johannes Altmanninger 2023-10-08 14:49:07 +02:00
parent d8de497ebc
commit 637926a7fd

View File

@ -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