Quellcode durchsuchen

fix(config): fix unsaved config

jguer vor 4 Jahren
Ursprung
Commit
5c05811ae5
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      pkg/settings/config.go

+ 1 - 0
pkg/settings/config.go

@@ -193,6 +193,7 @@ func NewConfig() (*Configuration, error) {
 	newConfig.expandEnv()
 
 	newConfig.Runtime = &Runtime{
+		ConfigPath:     configPath,
 		Mode:           ModeAny,
 		SaveConfig:     false,
 		CompletionPath: filepath.Join(cacheHome, completionFileName),