parent
1f9c0b1d4c
commit
d27748e9b5
2
doc.go
2
doc.go
@ -604,7 +604,7 @@ The file should be executable.
|
||||
One argument is passed to the file; the path to the file whose preview should be cleaned.
|
||||
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.
|
||||
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.
|
||||
|
@ -642,7 +642,7 @@ preview cache disabled. The file should be executable. One argument is
|
||||
passed to the file; the path to the file whose preview should be cleaned.
|
||||
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. Special expansions are
|
||||
provided, '%u' as the user name, '%h' as the host name, '%w' as the working
|
||||
|
2
lf.1
2
lf.1
@ -722,7 +722,7 @@ Set the path of a previewer file to filter the content of regular files for prev
|
||||
Set the path of a cleaner file. This file will be called if previewing is enabled, the previewer is set, and the previously selected file had its preview cache disabled. The file should be executable. One argument is passed to the file; the path to the file whose preview should be cleaned. Preview clearing is disabled when the value of this option is left empty.
|
||||
.PP
|
||||
.EX
|
||||
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
|
||||
.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.
|
||||
|
Loading…
Reference in New Issue
Block a user