Y
Hacker News
new
|
ask
|
show
|
jobs
by
ndegruchy
53 days ago
Yeah, in scripts I try to be as explicit as possible. `$HOME` for the home directory, `$XDG_DATA_HOME` for `/home/foo/.local/share/`, etc.
The more specific you are, the less gotchas you're going to fall to.