fix(config): fix unsaved config

This commit is contained in:
jguer 2020-09-03 18:26:57 +02:00
parent 3b2bb28e81
commit 5c05811ae5
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35

View file

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