Fix default promptfmt in documentation (#509)
%w already has a trailing slash
see: f68406b93c/opts.go (L92)
This commit is contained in:
parent
5d204a1331
commit
73d1a81d85
2
doc.go
2
doc.go
@ -118,7 +118,7 @@ The following options can be used to customize the behavior of lf:
|
|||||||
period int (default 0)
|
period int (default 0)
|
||||||
preview bool (default on)
|
preview bool (default on)
|
||||||
previewer string (default '')
|
previewer string (default '')
|
||||||
promptfmt string (default "\033[32;1m%u@%h\033[0m:\033[34;1m%w/\033[0m\033[1m%f\033[0m")
|
promptfmt string (default "\033[32;1m%u@%h\033[0m:\033[34;1m%w\033[0m\033[1m%f\033[0m")
|
||||||
ratios []int (default '1:2:3')
|
ratios []int (default '1:2:3')
|
||||||
relativenumber bool (default off)
|
relativenumber bool (default off)
|
||||||
reverse bool (default off)
|
reverse bool (default off)
|
||||||
|
2
lf.1
2
lf.1
@ -132,7 +132,7 @@ The following options can be used to customize the behavior of lf:
|
|||||||
period int (default 0)
|
period int (default 0)
|
||||||
preview bool (default on)
|
preview bool (default on)
|
||||||
previewer string (default '')
|
previewer string (default '')
|
||||||
promptfmt string (default "\e033[32;1m%u@%h\e033[0m:\e033[34;1m%w/\e033[0m\e033[1m%f\e033[0m")
|
promptfmt string (default "\e033[32;1m%u@%h\e033[0m:\e033[34;1m%w\e033[0m\e033[1m%f\e033[0m")
|
||||||
ratios []int (default '1:2:3')
|
ratios []int (default '1:2:3')
|
||||||
relativenumber bool (default off)
|
relativenumber bool (default off)
|
||||||
reverse bool (default off)
|
reverse bool (default off)
|
||||||
|
Loading…
Reference in New Issue
Block a user