diff --git a/paths_darwin.go b/paths_darwin.go index 2d9d60c..3b3d05f 100644 --- a/paths_darwin.go +++ b/paths_darwin.go @@ -18,12 +18,16 @@ func initBaseDirs(home string) { // Initialize standard directories. baseDirs.dataHome = pathutil.EnvPath(envDataHome, homeAppSupport) - baseDirs.data = pathutil.EnvPathList(envDataDirs, rootAppSupport) + baseDirs.data = pathutil.EnvPathList(envDataDirs, + rootAppSupport, + filepath.Join(home, ".local", "share"), + ) baseDirs.configHome = pathutil.EnvPath(envConfigHome, homeAppSupport) baseDirs.config = pathutil.EnvPathList(envConfigDirs, filepath.Join(home, "Library", "Preferences"), rootAppSupport, "/Library/Preferences", + filepath.Join(home, ".config"), ) baseDirs.stateHome = pathutil.EnvPath(envStateHome, homeAppSupport) baseDirs.cacheHome = pathutil.EnvPath(envCacheHome, filepath.Join(home, "Library", "Caches"))