mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
update defaut_env (#6176)
This commit is contained in:
parent
98e199f7b5
commit
6b2c7a4c86
@ -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) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user