From 8eb596c6703429bcdaa230895e4e3bd3b0857b2e Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Fri, 6 Nov 2020 20:25:31 +0300 Subject: [PATCH] update doc Related #499 --- doc.go | 1 + docstring.go | 11 ++++++----- lf.1 | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/doc.go b/doc.go index dcfa7cf..87aebe9 100644 --- a/doc.go +++ b/doc.go @@ -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 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'. diff --git a/docstring.go b/docstring.go index 55cf437..5e0d8d7 100644 --- a/docstring.go +++ b/docstring.go @@ -114,7 +114,7 @@ The following options can be used to customize the behavior of lf: icons bool (default off) ifs string (default '') ignorecase bool (default on) - ignoredia bool (default off) + ignoredia bool (default on) incsearch bool (default off) info []string (default '') number bool (default off) @@ -584,7 +584,7 @@ have any effect on windows. Ignore case in sorting and search patterns. - ignoredia bool (default off) + ignoredia bool (default on) 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 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'. shellopts []string (default '') diff --git a/lf.1 b/lf.1 index 2703e3e..d4eef0a 100644 --- a/lf.1 +++ b/lf.1 @@ -125,7 +125,7 @@ The following options can be used to customize the behavior of lf: icons bool (default off) ifs string (default '') ignorecase bool (default on) - ignoredia bool (default off) + ignoredia bool (default on) incsearch bool (default off) info []string (default '') 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. .PP .EX - ignoredia bool (default off) + ignoredia bool (default on) .EE .PP 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) .EE .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 .EX shellopts []string (default '')