export id variable after initialization

This commit is contained in:
Gokcehan committed 2019-03-31 19:45:11 +03:00
1 parent fee016f406
commit 45270e389e
3 files changed
+2 -4

No files matched your search

+2
View File
@@ -181,6 +181,8 @@ func main() {
os.Exit(2)
}
exportEnvVars()
run()
}
-2
View File
@@ -85,8 +85,6 @@ 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 {
-2
View File
@@ -70,8 +70,6 @@ func init() {
gMarksPath = filepath.Join(data, "lf", "marks")
gHistoryPath = filepath.Join(data, "lf", "history")
exportEnvVars()
}
func detachedCommand(name string, arg ...string) *exec.Cmd {