From 78f93c0510ffd2965b0e181890f3f2e6953578c4 Mon Sep 17 00:00:00 2001 From: Martin Norbury Date: Tue, 17 Oct 2023 15:46:55 +0100 Subject: [PATCH] Update config/config.go Co-authored-by: Herman Schaaf --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 3e4f85c..ebabb67 100644 --- a/config/config.go +++ b/config/config.go @@ -26,7 +26,7 @@ func SetConfigHome(configDir string) error { } // UnSetConfigHome unsets the configuration home directory returning to the default value -func UnSetConfigHome() error { +func UnsetConfigHome() error { if err := os.Unsetenv("XDG_CONFIG_HOME"); err != nil { return fmt.Errorf("failed to unset XDG_CONFIG_HOME: %w", err) }