diff options
author | Kalvin Pearce <kalvinpearce@gmail.com> | 2020-11-24 21:21:11 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-11-28 10:51:34 +1100 |
commit | d4688667463f18e3ec3d93c31f2a1d593ef5904d (patch) | |
tree | 0e3ce64a3a03c1ec5bf4e31a194cc6de8f8944ba /pkg/config | |
parent | 999e170f1d17b652dad231f1cbde6ab4bbeae8c7 (diff) |
Add config option for notInRepo behaviour.
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/user_config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 5891071b7..6fc28f101 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -14,6 +14,7 @@ type UserConfig struct { DisableStartupPopups bool `yaml:"disableStartupPopups"` CustomCommands []CustomCommand `yaml:"customCommands"` Services map[string]string `yaml:"services"` + NotARepository string `yaml:"notARepository"` } type GuiConfig struct { @@ -442,5 +443,6 @@ func GetDefaultConfig() *UserConfig { DisableStartupPopups: false, CustomCommands: []CustomCommand(nil), Services: map[string]string(nil), + NotARepository: "prompt", } } |