update doc

This commit is contained in:
Gokcehan 2021-01-11 00:42:47 +03:00
parent 2e4ed8f867
commit 1f9c0b1d4c
3 changed files with 7 additions and 6 deletions

2
doc.go
View File

@ -607,7 +607,7 @@ Preview clearing is disabled when the value of this option is left empty.
promptfmt string (default "\033[32;1m%u@%h\033[0m:\033[34;1m%d/\033[0m\033[1m%f\033[0m") promptfmt string (default "\033[32;1m%u@%h\033[0m:\033[34;1m%d/\033[0m\033[1m%f\033[0m")
Format string of the prompt shown in the top line. Format string of the prompt shown in the top line.
Special expansions are provided, '%u' as the user name, '%h' as the host name, '%w' as the working directory, and '%f' as the file name. Special expansions are provided, '%u' as the user name, '%h' as the host name, '%w' as the working directory, '%d' as the working directory with a trailing path separator, and '%f' as the file name.
Home folder is shown as '~' in the working directory expansion. Home folder is shown as '~' in the working directory expansion.
Directory names are automatically shortened to a single character starting from the left most parent when the prompt does not fit to the screen. Directory names are automatically shortened to a single character starting from the left most parent when the prompt does not fit to the screen.

View File

@ -646,10 +646,11 @@ Preview clearing is disabled when the value of this option is left empty.
Format string of the prompt shown in the top line. Special expansions are Format string of the prompt shown in the top line. Special expansions are
provided, '%u' as the user name, '%h' as the host name, '%w' as the working provided, '%u' as the user name, '%h' as the host name, '%w' as the working
directory, and '%f' as the file name. Home folder is shown as '~' in the directory, '%d' as the working directory with a trailing path separator, and
working directory expansion. Directory names are automatically shortened to '%f' as the file name. Home folder is shown as '~' in the working directory
a single character starting from the left most parent when the prompt does expansion. Directory names are automatically shortened to a single character
not fit to the screen. starting from the left most parent when the prompt does not fit to the
screen.
ratios []int (default '1:2:3') ratios []int (default '1:2:3')

2
lf.1
View File

@ -725,7 +725,7 @@ Set the path of a cleaner file. This file will be called if previewing is enable
promptfmt string (default "\e033[32;1m%u@%h\e033[0m:\e033[34;1m%d/\e033[0m\e033[1m%f\e033[0m") promptfmt string (default "\e033[32;1m%u@%h\e033[0m:\e033[34;1m%d/\e033[0m\e033[1m%f\e033[0m")
.EE .EE
.PP .PP
Format string of the prompt shown in the top line. Special expansions are provided, '%u' as the user name, '%h' as the host name, '%w' as the working directory, and '%f' as the file name. Home folder is shown as '~' in the working directory expansion. Directory names are automatically shortened to a single character starting from the left most parent when the prompt does not fit to the screen. Format string of the prompt shown in the top line. Special expansions are provided, '%u' as the user name, '%h' as the host name, '%w' as the working directory, '%d' as the working directory with a trailing path separator, and '%f' as the file name. Home folder is shown as '~' in the working directory expansion. Directory names are automatically shortened to a single character starting from the left most parent when the prompt does not fit to the screen.
.PP .PP
.EX .EX
ratios []int (default '1:2:3') ratios []int (default '1:2:3')