Skip to content

Commit aff3a2b

Browse files
committed
fix: replace by the root value to match bash behavior
1 parent e66c0cc commit aff3a2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/spfs/src/runtime/storage.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,8 @@ impl Config {
446446
csh_startup_file: root.join(Self::CSH_STARTUP_FILE),
447447
csh_expect_file: Self::default_csh_expect_file(),
448448
ps_startup_file: temp_dir().join(Self::PS_STARTUP_FILE),
449-
nu_env_file: temp_dir().join(Self::NU_ENV_FILE),
450-
nu_config_file: temp_dir().join(Self::NU_CONFIG_FILE),
449+
nu_env_file: root.join(Self::NU_ENV_FILE),
450+
nu_config_file: root.join(Self::NU_CONFIG_FILE),
451451
runtime_dir: Some(root),
452452
tmpfs_size,
453453
mount_namespace: None,

0 commit comments

Comments
 (0)