update doc

This commit is contained in:
Gokcehan 2021-02-27 22:56:18 +03:00
parent ced1ccd0c3
commit 8742f25706
3 changed files with 4 additions and 6 deletions

1
doc.go
View File

@ -640,7 +640,6 @@ 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 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'.

View File

@ -683,10 +683,9 @@ beginning or end of the list to show the maximum number of items.
shell string (default 'sh' for unix and 'cmd' for windows)
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'.
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'.
shellopts []string (default '')

2
lf.1
View File

@ -763,7 +763,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)
.EE
.PP
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'.
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'.
.PP
.EX
shellopts []string (default '')