add icon support

Related #158 and #164
This commit is contained in:
Gokcehan committed 2019-06-28 18:08:11 +03:00
1 parent afca893153
commit db224f04fe
8 files changed
+112 -3

No files matched your search

+6
View File
@@ -71,6 +71,12 @@ func (e *setExpr) eval(app *app, args []string) {
gOpts.globsearch = false
case "globsearch!":
gOpts.globsearch = !gOpts.globsearch
case "icons":
gOpts.icons = true
case "noicons":
gOpts.icons = false
case "icons!":
gOpts.icons = !gOpts.icons
case "hidden":
gOpts.sortType.option |= hiddenSort
app.nav.sort()