handle user variables on all platforms

This commit is contained in:
Gokcehan committed 2017-08-06 11:05:46 +03:00
1 parent ae4a29e550
commit cb577a4c3a
7 files changed
+80 -49

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ func (e *setExpr) eval(app *app, args []string) {
case "ifs":
gOpts.ifs = e.val
case "previewer":
gOpts.previewer = strings.Replace(e.val, "~", envHome, -1)
gOpts.previewer = strings.Replace(e.val, "~", gUser.HomeDir, -1)
case "shell":
gOpts.shell = e.val
case "sortby":