mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-09 12:11:20 -03:00
env: fix porting regression recording inherited vars
This commit is contained in:
2
fish-rust/src/env/environment.rs
vendored
2
fish-rust/src/env/environment.rs
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user