read configuration after initialization

This commit is contained in:
Gokcehan committed 2019-02-09 00:55:11 +03:00
1 parent 92e994ebf6
commit 4a1388a5c7
2 files changed
+11 -11

No files matched your search

-6
View File
@@ -33,12 +33,6 @@ func run() {
app := newApp()
for _, path := range gConfigPaths {
if _, err := os.Stat(path); !os.IsNotExist(err) {
app.readFile(path)
}
}
if err := app.nav.readMarks(); err != nil {
app.ui.printf("reading marks file: %s", err)
}