export permanent env vars on startup

Related #134
This commit is contained in:
Gokcehan committed 2019-03-17 19:52:34 +03:00
1 parent 1eedd29546
commit 0eedb71d6c
4 files changed
+25 -19

No files matched your search

+2
View File
@@ -84,6 +84,8 @@ func init() {
gHistoryPath = filepath.Join(data, "lf", "history")
gDefaultSocketPath = filepath.Join(os.TempDir(), fmt.Sprintf("lf.%s.sock", gUser.Username))
exportEnvVars()
}
func detachedCommand(name string, arg ...string) *exec.Cmd {