Hacker News new | ask | show | jobs
by quectophoton 1159 days ago
Anecdata, but after having some programs break when I used `~` to refer to my home directory (can't remember, was a long time ago), I got into the habit of either using `${HOME}` if I'm in a shell, or just writing the full path explicitly if it's a config file.

So nowadays I only use `~` when I'm navigating in an interactive shell session, and never in commands or config files.