diff options
author | Ram Bhosale <rambhosale9@gmail.com> | 2022-03-17 17:43:03 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 17:52:31 +1100 |
commit | 7be25a105d389a262ef040133a4270f2f745d255 (patch) | |
tree | 722d07efdfbfd8aae5dff90b190694127bd85af1 /pkg/config/user_config.go | |
parent | 28c9d85141bac6bc796f286d0a1161de48364887 (diff) |
allow skipping confirmation prompt after opening subprocessv0.34
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r-- | pkg/config/user_config.go | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 3b4e0f139..ac8a2bbc1 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -11,11 +11,12 @@ type UserConfig struct { QuitOnTopLevelReturn bool `yaml:"quitOnTopLevelReturn"` Keybinding KeybindingConfig `yaml:"keybinding"` // OS determines what defaults are set for opening files and links - OS OSConfig `yaml:"os,omitempty"` - DisableStartupPopups bool `yaml:"disableStartupPopups"` - CustomCommands []CustomCommand `yaml:"customCommands"` - Services map[string]string `yaml:"services"` - NotARepository string `yaml:"notARepository"` + OS OSConfig `yaml:"os,omitempty"` + DisableStartupPopups bool `yaml:"disableStartupPopups"` + CustomCommands []CustomCommand `yaml:"customCommands"` + Services map[string]string `yaml:"services"` + NotARepository string `yaml:"notARepository"` + PromptToReturnFromSubprocess bool `yaml:"promptToReturnFromSubprocess"` } type RefresherConfig struct { @@ -535,10 +536,11 @@ func GetDefaultConfig() *UserConfig { BulkMenu: "b", }, }, - OS: GetPlatformDefaultConfig(), - DisableStartupPopups: false, - CustomCommands: []CustomCommand(nil), - Services: map[string]string(nil), - NotARepository: "prompt", + OS: GetPlatformDefaultConfig(), + DisableStartupPopups: false, + CustomCommands: []CustomCommand(nil), + Services: map[string]string(nil), + NotARepository: "prompt", + PromptToReturnFromSubprocess: true, } } |