summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGokcehan <gokcehankara@gmail.com>2021-10-10 00:01:01 +0300
committerGokcehan <gokcehankara@gmail.com>2021-10-10 00:01:01 +0300
commit1b71c33afd1a6158b9d6d1da606149c171a08d9f (patch)
tree2ca1fa7af712adb258ce1d835a92cc1f350e19e3
parentf01fab6257864aeb3a305f681580edda90a79ce4 (diff)
update docr25
-rw-r--r--doc.go2
-rw-r--r--docstring.go10
-rw-r--r--lf.12
3 files changed, 7 insertions, 7 deletions
diff --git a/doc.go b/doc.go
index 8265878..ae31614 100644
--- a/doc.go
+++ b/doc.go
@@ -651,7 +651,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")
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.
+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, '%f' as the file name, and '%F' as the current filter.
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.
diff --git a/docstring.go b/docstring.go
index 8fbe2ed..c0e4a76 100644
--- a/docstring.go
+++ b/docstring.go
@@ -693,11 +693,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
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.
+directory, '%d' as the working directory with a trailing path separator,
+'%f' as the file name, and '%F' as the current filter. 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.
ratios []int (default '1:2:3')
diff --git a/lf.1 b/lf.1
index 0deaf78..00962d3 100644
--- a/lf.1
+++ b/lf.1
@@ -786,7 +786,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")
.EE
.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, '%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.
+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, '%f' as the file name, and '%F' as the current filter. 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
.EX
ratios []int (default '1:2:3')