Closed Vic-M closed 1 year ago
Tilde expansion is a feature of the shell.
Tildes are not treated specially by makeAbsolute
; it simply interprets them as literal tilde characters.
You might want to look for another library that offers tilde expansion.
Thanks for the reply. I'm not sure if any other libraries convert ~ but it should be simple enough to replace it using System.Directory's getHomeDirectory.
Running
makeAbsolute ~/path/to/a
gives/home/user/current/directory/~/path/to/a
instead of/home/user/path/to/a
. Is this the intended behavior?Additional details I'm using Windows WSL2.