Dirfirst option and numerical sorting (#27)
* Create option dirfirst, and add numerical sorting * Add only dirfirst option
This commit is contained in:
1 parent
d36e272272
commit
2345e16794
6 files changed
+20
-2
No files matched your search
@@ -10,6 +10,7 @@ var gOpts struct {
|
||||
shell string
|
||||
showinfo string
|
||||
sortby string
|
||||
dirfirst bool
|
||||
ratios []int
|
||||
keys map[string]Expr
|
||||
cmds map[string]Expr
|
||||
@@ -23,6 +24,7 @@ func init() {
|
||||
gOpts.shell = envShell
|
||||
gOpts.showinfo = "none"
|
||||
gOpts.sortby = "name"
|
||||
gOpts.dirfirst = true
|
||||
gOpts.ratios = []int{1, 2, 3}
|
||||
|
||||
gOpts.keys = make(map[string]Expr)
|
||||
|
||||
Reference in new issue
Block a user