parent
b08ab8dfb7
commit
73f990cdb6
@ -60,7 +60,7 @@ var (
|
|||||||
"echomsg",
|
"echomsg",
|
||||||
"echoerr",
|
"echoerr",
|
||||||
"cd",
|
"cd",
|
||||||
"get-dirsize",
|
"calcdirsize",
|
||||||
"select",
|
"select",
|
||||||
"glob-select",
|
"glob-select",
|
||||||
"glob-unselect",
|
"glob-unselect",
|
||||||
|
4
doc.go
4
doc.go
@ -31,7 +31,7 @@ The following commands are provided by lf:
|
|||||||
unselect (default 'u')
|
unselect (default 'u')
|
||||||
glob-select
|
glob-select
|
||||||
glob-unselect
|
glob-unselect
|
||||||
get-dirsize
|
calcdirsize
|
||||||
copy (default 'y')
|
copy (default 'y')
|
||||||
cut (default 'd')
|
cut (default 'd')
|
||||||
paste (default 'p')
|
paste (default 'p')
|
||||||
@ -277,7 +277,7 @@ Select files that match the given glob.
|
|||||||
|
|
||||||
Unselect files that match the given glob.
|
Unselect files that match the given glob.
|
||||||
|
|
||||||
get-dirsize
|
calcdirsize
|
||||||
|
|
||||||
Get the total size for each of the selected directories.
|
Get the total size for each of the selected directories.
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ The following commands are provided by lf:
|
|||||||
unselect (default 'u')
|
unselect (default 'u')
|
||||||
glob-select
|
glob-select
|
||||||
glob-unselect
|
glob-unselect
|
||||||
get-dirsize
|
calcdirsize
|
||||||
copy (default 'y')
|
copy (default 'y')
|
||||||
cut (default 'd')
|
cut (default 'd')
|
||||||
paste (default 'p')
|
paste (default 'p')
|
||||||
@ -289,7 +289,7 @@ Select files that match the given glob.
|
|||||||
|
|
||||||
Unselect files that match the given glob.
|
Unselect files that match the given glob.
|
||||||
|
|
||||||
get-dirsize
|
calcdirsize
|
||||||
|
|
||||||
Get the total size for each of the selected directories.
|
Get the total size for each of the selected directories.
|
||||||
|
|
||||||
|
4
eval.go
4
eval.go
@ -919,10 +919,10 @@ func (e *callExpr) eval(app *app, args []string) {
|
|||||||
app.nav.invert()
|
app.nav.invert()
|
||||||
case "unselect":
|
case "unselect":
|
||||||
app.nav.unselect()
|
app.nav.unselect()
|
||||||
case "get-dirsize":
|
case "calcdirsize":
|
||||||
err := app.nav.getDirSize()
|
err := app.nav.getDirSize()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
app.ui.echoerrf("get-dirsize: %s", err)
|
app.ui.echoerrf("calcdirsize: %s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
app.ui.loadFileInfo(app.nav)
|
app.ui.loadFileInfo(app.nav)
|
||||||
|
4
lf.1
4
lf.1
@ -47,7 +47,7 @@ The following commands are provided by lf:
|
|||||||
unselect (default 'u')
|
unselect (default 'u')
|
||||||
glob-select
|
glob-select
|
||||||
glob-unselect
|
glob-unselect
|
||||||
get-dirsize
|
calcdirsize
|
||||||
copy (default 'y')
|
copy (default 'y')
|
||||||
cut (default 'd')
|
cut (default 'd')
|
||||||
paste (default 'p')
|
paste (default 'p')
|
||||||
@ -324,7 +324,7 @@ Select files that match the given glob.
|
|||||||
Unselect files that match the given glob.
|
Unselect files that match the given glob.
|
||||||
.PP
|
.PP
|
||||||
.EX
|
.EX
|
||||||
get-dirsize
|
calcdirsize
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
Get the total size for each of the selected directories.
|
Get the total size for each of the selected directories.
|
||||||
|
Loading…
Reference in New Issue
Block a user