logoalt Hacker News

ndegruchy • today at 4:30 PM • 0 replies • view on HN

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.