Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 5d7a9a9

Browse files
Merge pull request #34 from shreyassanthu77/main
2 parents f33dff8 + ce8bf37 commit 5d7a9a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ func configureViper() {
177177
viper.SetConfigType("json")
178178
viper.AddConfigPath("$HOME")
179179
viper.AddConfigPath(fmt.Sprintf("$XDG_CONFIG_HOME/%s", appName))
180+
viper.AddConfigPath(fmt.Sprintf("$HOME/.config/%s", appName))
180181
viper.SetEnvPrefix(strings.ToUpper(appName))
181182
viper.AutomaticEnv()
182183
}

0 commit comments

Comments
 (0)