mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
expand env for path (#5692)
This commit is contained in:
parent
997d56a288
commit
41853b9f18
1 changed files with 2 additions and 2 deletions
|
@ -32,11 +32,11 @@ let-env PROMPT_MULTILINE_INDICATOR = { "::: " }
|
||||||
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) }
|
||||||
to_string: { |v| $v | 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) }
|
||||||
to_string: { |v| $v | str collect (char esep) }
|
to_string: { |v| $v | path expand | str collect (char esep) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue