diff options
Diffstat (limited to 'cmd/root.go')
-rw-r--r-- | cmd/root.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/root.go b/cmd/root.go index 7b379a3..413e6f2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -54,8 +54,8 @@ func initConfig() { viper.SetConfigName("macli") //viper.SetConfigType("yaml") viper.AddConfigPath(".") - // viper.AddConfigPath("$HOME/.config/macli") - // viper.AddConfigPath("/etc/macli") + viper.AddConfigPath("$HOME/.config") + viper.AddConfigPath("/etc") // dont show error if file not found // macli doesnt need a config file to work properly |