Skip to content

Commit

Permalink
🐛 fix: sys - UserConfigDir path build error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Dec 9, 2024
1 parent 2ad2195 commit f308913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysutil/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func UserCacheDir(subPaths ...string) string {

// UserConfigDir will prepend user `$HOME/.config` to subPath
func UserConfigDir(subPaths ...string) string {
return comfunc.JoinPaths3(UserHomeDir(), ".cache", subPaths)
return comfunc.JoinPaths3(UserHomeDir(), ".config", subPaths)
}

// ExpandPath will parse `~` as user home dir path.
Expand Down

0 comments on commit f308913

Please sign in to comment.