aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.go b/src/config.go
index 2769cae..8f931ae 100644
--- a/src/config.go
+++ b/src/config.go
@@ -45,7 +45,7 @@ func LoadDefaultConfig() (*Config, error) {
45 45
46func getConfigFilePath() (string, error) { 46func getConfigFilePath() (string, error) {
47 path := "" 47 path := ""
48 if runtime.GOOS == "linux" { 48 if runtime.GOOS == "linux" || runtime.GOOS == "openbsd" {
49 configDir := os.Getenv("XDG_CONFIG_DIR") 49 configDir := os.Getenv("XDG_CONFIG_DIR")
50 if configDir == "" { 50 if configDir == "" {
51 home := os.Getenv("HOME") 51 home := os.Getenv("HOME")