write marks to marks file on quit

Related #76
This commit is contained in:
Gokcehan committed 2018-07-11 20:09:26 +03:00
1 parent 0d0f7451ac
commit 211bcd0444
5 files changed
+79

No files matched your search

+3
View File
@@ -29,6 +29,7 @@ var (
var (
gUser *user.User
gConfigPaths []string
gMarksPath string
)
func init() {
@@ -61,6 +62,8 @@ func init() {
filepath.Join(os.Getenv("ProgramData"), "lf", "lfrc"),
filepath.Join(os.Getenv("LOCALAPPDATA"), "lf", "lfrc"),
}
gMarksPath = filepath.Join(os.Getenv("LOCALAPPDATA"), "lf", "marks")
}
func pauseCommand() *exec.Cmd {