Fix default promptfmt in documentation (#509)

%w already has a trailing slash
see: f68406b93c/opts.go (L92)
This commit is contained in:
Marius 2020-11-27 20:12:55 +01:00 committed by GitHub
parent 5d204a1331
commit 73d1a81d85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
doc.go
View File

@ -118,7 +118,7 @@ The following options can be used to customize the behavior of lf:
period int (default 0)
preview bool (default on)
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')
relativenumber bool (default off)
reverse bool (default off)

2
lf.1
View File

@ -132,7 +132,7 @@ The following options can be used to customize the behavior of lf:
period int (default 0)
preview bool (default on)
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')
relativenumber bool (default off)
reverse bool (default off)