add an option to disable directory cache (#673)

* add an option to disable directory cache

* change option name to `dircache`

* change 4 whitespaces to tab
This commit is contained in:
Yegor Bychin authored and GitHub committed 2021-08-01 17:00:10 +03:00
1 parent 75eba115d2
commit ee5b3f4813
4 files changed
+48 -29

No files matched your search

+6
View File
@@ -26,6 +26,12 @@ func (e *setExpr) eval(app *app, args []string) {
gOpts.autoquit = false
case "autoquit!":
gOpts.autoquit = !gOpts.autoquit
case "dircache":
gOpts.dircache = true
case "nodircache":
gOpts.dircache = false
case "dircache!":
gOpts.dircache = !gOpts.dircache
case "dircounts":
gOpts.dircounts = true
case "nodircounts":