diff --git a/docs/sample_config/default_env.nu b/docs/sample_config/default_env.nu index 367c55247e..e8ac902d7c 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) } } }