From aff3a2bf5e2b31ff44e8452d69305fb33ac7e206 Mon Sep 17 00:00:00 2001 From: Philippe Llerena Date: Thu, 5 Sep 2024 17:50:01 +0200 Subject: [PATCH] fix: replace by the root value to match bash behavior --- crates/spfs/src/runtime/storage.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/spfs/src/runtime/storage.rs b/crates/spfs/src/runtime/storage.rs index 9dea30dd9..163ce87b7 100644 --- a/crates/spfs/src/runtime/storage.rs +++ b/crates/spfs/src/runtime/storage.rs @@ -446,8 +446,8 @@ impl Config { csh_startup_file: root.join(Self::CSH_STARTUP_FILE), csh_expect_file: Self::default_csh_expect_file(), ps_startup_file: temp_dir().join(Self::PS_STARTUP_FILE), - nu_env_file: temp_dir().join(Self::NU_ENV_FILE), - nu_config_file: temp_dir().join(Self::NU_CONFIG_FILE), + nu_env_file: root.join(Self::NU_ENV_FILE), + nu_config_file: root.join(Self::NU_CONFIG_FILE), runtime_dir: Some(root), tmpfs_size, mount_namespace: None,