add hiddenFiles option (#372)

* add hiddenFiles option

* harden and improve syntax

* refactor name and add to docs
This commit is contained in:
Adam Abrams authored and GitHub committed 2020-06-11 02:52:15 +03:00
1 parent 8933a3eafe
commit 72facea2a0
7 files changed
+43 -7

No files matched your search

+2
View File
@@ -296,6 +296,8 @@ func (e *setExpr) eval(app *app, args []string) {
gOpts.info = toks
case "shellopts":
gOpts.shellopts = strings.Split(e.val, ":")
case "hiddenfiles":
gOpts.hiddenfiles = strings.Split(e.val, ":")
default:
app.ui.echoerrf("unknown option: %s", e.opt)
return