diff --git a/eval.go b/eval.go index b77852e..e352b56 100644 --- a/eval.go +++ b/eval.go @@ -62,7 +62,7 @@ func (e *SetExpr) eval(app *App, args []string) { case "ifs": gOpts.ifs = e.val case "previewer": - gOpts.previewer = e.val + gOpts.previewer = strings.Replace(e.val, "~", envHome, -1) case "shell": gOpts.shell = e.val case "showinfo":