implement dironly option (#669)

Co-authored-by: mtoohey31 <mtoohey31@users.noreply.github.com>
This commit is contained in:
Matthew Tooheyandmtoohey31 authored and GitHub committed 2021-07-31 16:10:25 +03:00
1 parent 8adbd2b9ef
commit 75eba115d2
7 files changed
+63

No files matched your search

+7
View File
@@ -120,6 +120,7 @@ The following options can be used to customize the behavior of lf:
autoquit bool (default off)
dircounts bool (default off)
dirfirst bool (default on)
dironly bool (default off)
drawbox bool (default off)
errorfmt string (default "\e033[7;31;47m%s\e033[0m")
filesep string (default "\en")
@@ -636,6 +637,12 @@ When this option is enabled, directory sizes show the number of items inside ins
.PP
Show directories first above regular files.
.PP
.EX
dironly bool (default off)
.EE
.PP
Show only directories.
.PP
.EX
drawbox bool (default off)
.EE