add 'shellopts' option to set shell arguments

Related #102
This commit is contained in:
Gokcehan committed 2018-06-26 21:14:55 +03:00
1 parent 4c54acebeb
commit e99478e8a1
7 files changed
+12

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ var gOpts struct {
timefmt string
ratios []int
info []string
shellopts []string
keys map[string]expr
cmdkeys map[string]expr
cmds map[string]expr
@@ -66,6 +67,7 @@ func init() {
gOpts.timefmt = time.ANSIC
gOpts.ratios = []int{1, 2, 3}
gOpts.info = nil
gOpts.shellopts = nil
gOpts.sortType = sortType{naturalSort, dirfirstSort}
gOpts.keys = make(map[string]expr)