From 6b2c7a4c866419787f7f7962cb91ca64c41ab163 Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Fri, 29 Jul 2022 14:57:56 +0800 Subject: [PATCH] update defaut_env (#6176) --- docs/sample_config/default_env.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sample_config/default_env.nu b/docs/sample_config/default_env.nu index 367c55247..e8ac902d7 100644 --- a/docs/sample_config/default_env.nu +++ b/docs/sample_config/default_env.nu @@ -35,11 +35,11 @@ let-env PROMPT_MULTILINE_INDICATOR = { "::: " } # Note: The conversions happen *after* config.nu is loaded let-env ENV_CONVERSIONS = { "PATH": { - from_string: { |s| $s | split row (char esep) } + from_string: { |s| $s | split row (char esep) | path expand } to_string: { |v| $v | path expand | str collect (char esep) } } "Path": { - from_string: { |s| $s | split row (char esep) } + from_string: { |s| $s | split row (char esep) | path expand } to_string: { |v| $v | path expand | str collect (char esep) } } }