Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> ~/Library/Preferences is likely the more correct location on macOS

It really, really isn't. That's where the macOS defaults system stores its data and shouldn't be hijacked for anything else. There's gazillions of files in there, most of which aren't grouped by directories. It's primarily meant to be accessed programmatically. It'll be painful and error-prone to manage CLI configs in there.

macOS is a unix, and there's no reason to make CLIs work partially like a Cocoa application. Breaking compatibility with other unices isn't worth it, especially when dotfiles work on macOS just like it works elsewhere.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: