--- os.go.orig 2021-08-30 22:55:52.000000000 +0300 +++ os.go 2021-08-30 23:10:01.000000000 +0300 @@ -74,8 +74,10 @@ config = filepath.Join(gUser.HomeDir, ".config") } + macportsPrefix := filepath.Join("@@PREFIX@@", "/etc") gConfigPaths = []string{ filepath.Join("/etc", "lf", "lfrc"), + filepath.Join(macportsPrefix, "lf", "lfrc"), filepath.Join(config, "lf", "lfrc"), }