configurable directory collapse default value (closes #70)

This commit is contained in:
Alex Goodman 2018-11-23 21:49:21 -05:00
commit 64d1a3bcc3
No known key found for this signature in database
GPG key ID: 743640FAA11698A1
2 changed files with 3 additions and 1 deletions

View file

@ -98,6 +98,7 @@ func initConfig() {
viper.SetDefault("diff.hide", "")
viper.SetDefault("layer.show-aggregated-changes", false)
viper.SetDefault("filetree.collapse-dir", false)
viper.AutomaticEnv() // read in environment variables that match