joshuto
joshuto copied to clipboard
macOS: Any `/Users/<username>` is replaced with `~`, while this can be wrong
Say I have a path /Volumes/BigSSD/Users/<username>/Downloads, it displays as /Volumes/BigSSD~/Downloads in joshuto, which IMHO isn't the desired behavior.
I think we should limit the string substitution to start of the full path text.
Good catch!
Fixed with 52e581e6b1bd912032a5b2210ef3006a5b75e5e5