4 ms·
I also keep user-specific binaries in ~/.local/bin. IMO, keeping things clearly separated between the user and system is just the most sensible approach. It als
by TheAceOfHearts 9y ago
I also keep user-specific binaries in ~/.local/bin. IMO, keeping things clearly separated between the user and system is just the most sensible approach. It also keeps the home directory fairly free of clutter.
Something that bugs me about the XDG Base Directory Specification [0] is that the default is to have a `.config` and `.local` folder in your home directory. I'd rather it all be placed under the single hidden local folder.
On macOS you have ~/Library for user-specific files, /Library for global non-system files, and /System/Library for system files. I think if you use the Network Location feature some apps will also store different preferences in ~/Library/Preferences/ByHost, although I haven't really used the feature so I might be mistaken. Honestly, changing your system preferences based on your location makes tons of sense to me! For a portable system, it doesn't make sense to use the same settings in your home network as when you're in an untrusted network such as a coffee shop or airport.
[0] https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html https://standards.freedesktop.org/basedir-spec/basedir-spec-...