From 73d1a81d85b268a9e306e00cf2dd682f04e05f0c Mon Sep 17 00:00:00 2001 From: Marius Date: Fri, 27 Nov 2020 20:12:55 +0100 Subject: [PATCH] Fix default promptfmt in documentation (#509) %w already has a trailing slash see: https://github.com/gokcehan/lf/blob/f68406b93c35fcb8abfdbb3768192b4d15a25d52/opts.go#L92 --- doc.go | 2 +- lf.1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index 87aebe9..a366b72 100644 --- a/doc.go +++ b/doc.go @@ -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) diff --git a/lf.1 b/lf.1 index d4eef0a..2454987 100644 --- a/lf.1 +++ b/lf.1 @@ -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)