update doc

Related #499
This commit is contained in:
Gokcehan 2020-11-06 20:25:31 +03:00
parent d46ccfc805
commit 8eb596c670
3 changed files with 10 additions and 8 deletions

1
doc.go
View File

@ -626,6 +626,7 @@ A smaller offset can be used when the current file is close to the beginning or
shell string (default 'sh' for unix and 'cmd' for windows) shell string (default 'sh' for unix and 'cmd' for windows)
Shell executable to use for shell commands. Shell executable to use for shell commands.
On unix, a POSIX compatible shell is required.
Shell commands are executed as 'shell shellopts -c command -- arguments'. Shell commands are executed as 'shell shellopts -c command -- arguments'.
On windows, '/c' is used instead of '-c' which should work in 'cmd' and 'powershell'. On windows, '/c' is used instead of '-c' which should work in 'cmd' and 'powershell'.

View File

@ -114,7 +114,7 @@ The following options can be used to customize the behavior of lf:
icons bool (default off) icons bool (default off)
ifs string (default '') ifs string (default '')
ignorecase bool (default on) ignorecase bool (default on)
ignoredia bool (default off) ignoredia bool (default on)
incsearch bool (default off) incsearch bool (default off)
info []string (default '') info []string (default '')
number bool (default off) number bool (default off)
@ -584,7 +584,7 @@ have any effect on windows.
Ignore case in sorting and search patterns. Ignore case in sorting and search patterns.
ignoredia bool (default off) ignoredia bool (default on)
Ignore diacritics in sorting and search patterns. Ignore diacritics in sorting and search patterns.
@ -665,9 +665,10 @@ beginning or end of the list to show the maximum number of items.
shell string (default 'sh' for unix and 'cmd' for windows) shell string (default 'sh' for unix and 'cmd' for windows)
Shell executable to use for shell commands. Shell commands are executed as Shell executable to use for shell commands. On unix, a POSIX compatible
'shell shellopts -c command -- arguments'. On windows, '/c' is used instead shell is required. Shell commands are executed as 'shell shellopts -c
of '-c' which should work in 'cmd' and 'powershell'. command -- arguments'. On windows, '/c' is used instead of '-c' which should
work in 'cmd' and 'powershell'.
shellopts []string (default '') shellopts []string (default '')

6
lf.1
View File

@ -125,7 +125,7 @@ The following options can be used to customize the behavior of lf:
icons bool (default off) icons bool (default off)
ifs string (default '') ifs string (default '')
ignorecase bool (default on) ignorecase bool (default on)
ignoredia bool (default off) ignoredia bool (default on)
incsearch bool (default off) incsearch bool (default off)
info []string (default '') info []string (default '')
number bool (default off) number bool (default off)
@ -673,7 +673,7 @@ Sets 'IFS' variable in shell commands. It works by adding the assignment to the
Ignore case in sorting and search patterns. Ignore case in sorting and search patterns.
.PP .PP
.EX .EX
ignoredia bool (default off) ignoredia bool (default on)
.EE .EE
.PP .PP
Ignore diacritics in sorting and search patterns. Ignore diacritics in sorting and search patterns.
@ -748,7 +748,7 @@ Minimum number of offset lines shown at all times in the top and the bottom of t
shell string (default 'sh' for unix and 'cmd' for windows) shell string (default 'sh' for unix and 'cmd' for windows)
.EE .EE
.PP .PP
Shell executable to use for shell commands. Shell commands are executed as 'shell shellopts -c command -- arguments'. On windows, '/c' is used instead of '-c' which should work in 'cmd' and 'powershell'. Shell executable to use for shell commands. On unix, a POSIX compatible shell is required. Shell commands are executed as 'shell shellopts -c command -- arguments'. On windows, '/c' is used instead of '-c' which should work in 'cmd' and 'powershell'.
.PP .PP
.EX .EX
shellopts []string (default '') shellopts []string (default '')