Implement directory count info (#85)
This commit is contained in:
1 parent
9962b378a8
commit
fe05105c88
7 files changed
+38
-1
No files matched your search
@@ -11,6 +11,12 @@ import (
|
||||
|
||||
func (e *setExpr) eval(app *app, args []string) {
|
||||
switch e.opt {
|
||||
case "dircounts":
|
||||
gOpts.dircounts = true
|
||||
case "nodircounts":
|
||||
gOpts.dircounts = false
|
||||
case "dircounts!":
|
||||
gOpts.dircounts = !gOpts.dircounts
|
||||
case "dirfirst":
|
||||
gOpts.dirfirst = true
|
||||
app.nav.renew(app.nav.height)
|
||||
|
||||
Reference in new issue
Block a user