always escape the paths
This commit is contained in:
parent
79f5f6671b
commit
9ae8519506
|
|
@ -56,7 +56,7 @@ module zoxide_integration {
|
||||||
| lines | each {
|
| lines | each {
|
||||||
if $in starts-with $"($homedir)(char psep)" {
|
if $in starts-with $"($homedir)(char psep)" {
|
||||||
str replace $homedir "~"
|
str replace $homedir "~"
|
||||||
} else {}
|
} else {} | debug --raw-value
|
||||||
} | wrap value
|
} | wrap value
|
||||||
| insert span { start: ($ast | first).span.start, end: ($ast | last).span.end }
|
| insert span { start: ($ast | first).span.start, end: ($ast | last).span.end }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue