rename mark to selection

This commit is contained in:
Gokcehan committed 2018-07-09 21:22:10 +03:00
1 parent 552182958a
commit a80900f41e
9 files changed
+75 -75

No files matched your search

+3 -3
View File
@@ -149,14 +149,14 @@ func (app *app) exportVars() {
envFile = f.path
}
marks := app.nav.currMarks()
selections := app.nav.currSelections()
envFiles := strings.Join(marks, gOpts.filesep)
envFiles := strings.Join(selections, gOpts.filesep)
os.Setenv("f", envFile)
os.Setenv("fs", envFiles)
if len(marks) == 0 {
if len(selections) == 0 {
os.Setenv("fx", envFile)
} else {
os.Setenv("fx", envFiles)