Dotfiles matter: please stop dumping files in users’ $HOME directories.

Dotfiles are important. We use them every day for storing configuration for all kinds of applications, knowingly or otherwise. You know the ones, hidden in your $HOME directory, ~/.ssh/ for your ssh keys, or ~/.Xauthority (whatever the heck that does). Something you may not know is these are legacy locations for configuration. Please do not copy their behaviour. Your application’s configuration may be the most important thing on a user’s machine. There are now standardised locations on major platforms for applications to store user-specific configuration.

Your application should not be dumping random files into an unconfigurable location in the user’s home directory.

This speaks to my soul.

11 Comments

  1. 2023-09-27 3:58 pm
    • 2023-09-28 1:38 pm
  2. 2023-09-27 5:21 pm
  3. 2023-09-28 10:22 am
    • 2023-09-28 12:06 pm
  4. 2023-09-28 11:28 am
  5. 2023-09-28 1:36 pm
    • 2023-09-29 10:00 am
  6. 2023-09-29 8:56 am
    • 2023-09-29 9:48 am
  7. 2023-09-30 12:03 am