From 41853b9f1867e798f59550ce8eb33ef3d8a5a3dd Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Tue, 31 May 2022 17:51:42 +0800 Subject: [PATCH] expand env for path (#5692) --- 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 f5205ceda3..2a460f4221 100644 --- a/docs/sample_config/default_env.nu +++ b/docs/sample_config/default_env.nu @@ -32,11 +32,11 @@ let-env PROMPT_MULTILINE_INDICATOR = { "::: " } let-env ENV_CONVERSIONS = { "PATH": { from_string: { |s| $s | split row (char esep) } - to_string: { |v| $v | str collect (char esep) } + to_string: { |v| $v | path expand | str collect (char esep) } } "Path": { from_string: { |s| $s | split row (char esep) } - to_string: { |v| $v | str collect (char esep) } + to_string: { |v| $v | path expand | str collect (char esep) } } }