summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-09-01 12:15:52 +1000
committerJesse Duffield <jessedduffield@gmail.com>2018-09-01 12:18:16 +1000
commitf127ae62bb67e86360a1a38971fef7e8e53cb5b9 (patch)
treed9d6b1b012da60de35817e19d739f8b44a4170bf
parent3f14b764d5af8ba0390d8f791389330ec1739c9e (diff)
update config
-rw-r--r--docs/Config.md4
-rw-r--r--pkg/config/app_config.go8
2 files changed, 5 insertions, 7 deletions
diff --git a/docs/Config.md b/docs/Config.md
index b2711b603..02b377b95 100644
--- a/docs/Config.md
+++ b/docs/Config.md
@@ -14,10 +14,8 @@
- white
optionsTextColor:
- blue
- git:
- # stuff relating to git
os:
- # stuff relating to the OS
+ openCommand: 'open {{filename}}'
update:
method: prompt # can be: prompt | background | never
days: 14 # how often an update is checked for
diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go
index dce027c8a..b5503d6fd 100644
--- a/pkg/config/app_config.go
+++ b/pkg/config/app_config.go
@@ -218,14 +218,14 @@ func GetDefaultConfig() []byte {
- white
optionsTextColor:
- blue
-# git:
- # stuff relating to git
-# os:
- # stuff relating to the OS
update:
method: prompt # can be: prompt | background | never
days: 14 # how often a update is checked for
reporting: 'undetermined' # one of: 'on' | 'off' | 'undetermined'
+# git:
+# stuff relating to git
+# os:
+# openCommand: 'code -r {{filename}}'
`)
}