Skip to content

Commit

Permalink
remove few config paths
Browse files Browse the repository at this point in the history
  • Loading branch information
issadarkthing committed Aug 2, 2020
1 parent f3f317f commit 85b0fc1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 85b0fc1

Please sign in to comment.