remove 'lscolors' option

Related #37
This commit is contained in:
Gokcehan 2018-04-14 21:21:39 +03:00
parent 5a9a829252
commit ebd599deca
5 changed files with 0 additions and 16 deletions

View File

@ -67,9 +67,6 @@ var (
"ignorecase",
"noignorecase",
"ignorecase!",
"lscolors",
"nolscolors",
"lscolors!",
"preview",
"nopreview",
"preview!",

1
doc.go
View File

@ -79,7 +79,6 @@ The following options can be used to customize the behavior of lf:
globsearch boolean (default off)
hidden boolean (default off)
ignorecase boolean (default on)
lscolors boolean (default on)
preview boolean (default on)
reverse boolean (default off)
smartcase boolean (default on)

View File

@ -83,7 +83,6 @@ The following options can be used to customize the behavior of lf:
globsearch boolean (default off)
hidden boolean (default off)
ignorecase boolean (default on)
lscolors boolean (default on)
preview boolean (default on)
reverse boolean (default off)
smartcase boolean (default on)

View File

@ -47,15 +47,6 @@ func (e *setExpr) eval(app *app, args []string) {
gOpts.ignorecase = false
case "ignorecase!":
gOpts.ignorecase = !gOpts.ignorecase
case "lscolors":
gOpts.lscolors = true
app.ui.colors = parseColors()
case "nolscolors":
gOpts.lscolors = false
app.ui.colors = parseColors()
case "lscolors!":
gOpts.lscolors = !gOpts.lscolors
app.ui.colors = parseColors()
case "preview":
gOpts.preview = true
case "nopreview":

View File

@ -8,7 +8,6 @@ var gOpts struct {
globsearch bool
hidden bool
ignorecase bool
lscolors bool
preview bool
reverse bool
smartcase bool
@ -35,7 +34,6 @@ func init() {
gOpts.globsearch = false
gOpts.hidden = false
gOpts.ignorecase = true
gOpts.lscolors = true
gOpts.preview = true
gOpts.reverse = false
gOpts.smartcase = true