LSCOLORS & LS_COLORS support (#96)
* LSCOLORS & LS_COLORS support * Renamed lsColors to gColors * Fixed gOptWords & setExpr.eval()
This commit is contained in:
1 parent
54dbf5cbe4
commit
f92e0f53a5
7 files changed
+186
-21
No files matched your search
@@ -8,6 +8,7 @@ var gOpts struct {
|
||||
globsearch bool
|
||||
hidden bool
|
||||
ignorecase bool
|
||||
lscolors bool
|
||||
preview bool
|
||||
reverse bool
|
||||
smartcase bool
|
||||
@@ -34,6 +35,7 @@ func init() {
|
||||
gOpts.globsearch = false
|
||||
gOpts.hidden = false
|
||||
gOpts.ignorecase = true
|
||||
// gOpts.lscolors = true this option is initialized in lscolors.go init() depending on whether the corresponding environment variable is set
|
||||
gOpts.preview = true
|
||||
gOpts.reverse = false
|
||||
gOpts.smartcase = true
|
||||
|
||||
Reference in new issue
Block a user