update defaut_env (#6176)

This commit is contained in:
WindSoilder 2022-07-29 14:57:56 +08:00 committed by GitHub
parent 98e199f7b5
commit 6b2c7a4c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,11 +35,11 @@ let-env PROMPT_MULTILINE_INDICATOR = { "::: " }
# Note: The conversions happen *after* config.nu is loaded # Note: The conversions happen *after* config.nu is loaded
let-env ENV_CONVERSIONS = { let-env ENV_CONVERSIONS = {
"PATH": { "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) } to_string: { |v| $v | path expand | str collect (char esep) }
} }
"Path": { "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) } to_string: { |v| $v | path expand | str collect (char esep) }
} }
} }