forked from extern/nushell
expand env for path (#5692)
This commit is contained in:
parent
997d56a288
commit
41853b9f18
@ -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 New Issue
Block a user