[BUG] Unable to use absolute path for User Library folder (~/Library
) on macOS
#265
Labels
bug
Something isn't working
~/Library
) on macOS
#265
Describe the bug
According to the quick start docs:
toml-bombadil/website/content/docs/getting-started/quick-start.md
Lines 81 to 83 in 5d34951
I'd expect the tilde to be inferred as an absolute path (as it's a shortcut for
/Users/username
), but instead it is rendered relativey, from the User directory.To Reproduce
bombadil link -p sublime
/Users/username/~/Library/blah
Expected behavior
Above,
["~/Library/blah"]
is respected as a root path, not a relative path to$HOME
bombadil link -p sublime
with the above config~/Library/blah
Additional context
The current workaround is to specify Library as a relative path
target = "Library/blah"
to reference the user path, but imo it's a little confusing. Sincetarget
supports absolute or relative paths, I find it tricky to infer:Library
.Library
/Library
~/Library
/~/Library
tl;dr, I believe
~/Library
should be absolute, not rendered relatively :) def open to thoughts though!The text was updated successfully, but these errors were encountered: