macOS dotfiles should not go in –/Library/Application Support

#macOS dotfiles should not go in ~/Library/Application Support One of my pet peeves is when command-line tools look for user configuration files in ~/Library/Application Support when running on macOS. In addition to offering poor ergonomics for users, I believe this behavior is incorrect according to the documentation which is cited to justify it. Instead, command-line tools should implement the XDG Base Directory Specification and look for configuration files in $XDG_CONFIG_HOME, which defaults to ~/.config. Usually, when a program looks for configuration files in ~/Library/Application Support, it’s not because of an intentional design decision. Instead, the author delegated that decision to a library, and several popular libraries for determining platform-specific configuration…