We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a2900 commit c7eb088Copy full SHA for c7eb088
cmd/main.go
@@ -165,6 +165,11 @@ func NewMainApp(appVer AppVersion) *cli.App {
165
app.Commands = append(app.Commands, subCmdWithConfig...)
166
app.Commands = append(app.Commands, subCmdStandalone...)
167
168
+ err := os.Unsetenv("XDG_CONFIG_HOME") // unset if set as HOME is managed by gitea
169
+ if err != nil {
170
+ fmt.Printf("error unsetting XDG_CONFIG_HOME")
171
+ }
172
+
173
return app
174
}
175
0 commit comments