From 85b0fc14fcbf2e37fc16fd019370533c7d2aed0d Mon Sep 17 00:00:00 2001 From: raziman Date: Sun, 2 Aug 2020 17:48:45 +0800 Subject: [PATCH] remove few config paths --- start.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/start.go b/start.go index 66b1566..96147af 100644 --- a/start.go +++ b/start.go @@ -44,8 +44,6 @@ func readConfig(args Args) { viper.SetConfigName("config") viper.SetConfigType("yaml") viper.AddConfigPath(expandTilde(configPath)) - viper.AddConfigPath("/etc/gomu") - viper.AddConfigPath("$HOME/.gomu") viper.AddConfigPath("$HOME/.config/gomu") colors := map[string]string{ @@ -103,7 +101,6 @@ func readConfig(args Args) { if validateHexColor(cfgColor) { continue } - // debugLog(fmt.Sprintf("%s is replaced by %s", cfgColor, v)) // use default value if invalid hex color was given viper.Set(k, v) }