mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-29 13:16:18 +08:00
env: fix porting regression recording inherited vars
This commit is contained in:
parent
d8de497ebc
commit
637926a7fd
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user