mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +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 = {
|
||||
"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) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue