diff --git a/doc.go b/doc.go index a366b72..1525d03 100644 --- a/doc.go +++ b/doc.go @@ -1258,11 +1258,7 @@ Second, you can set the values of environmental variables mentioned above for fine grained customization. This is useful to change colors used for different file types and extensions. '$LS_COLORS' is more powerful than '$LSCOLORS' and it can be used even when GNU programs are not installed on the system. You can -combine this second method with the first method for best results. lf can also -be configured to ignore your terminal theme and output colors "as they were -intended" by translating all numbered colors into a 24-bit output that matches -the description; this can be enabled by setting the environment variable -'$TCELL_TRUECOLOR' to "on" (or any text except ""/nothing or "disable"). +combine this second method with the first method for best results. Lastly, you may also want to configure the colors of the prompt line to match the rest of the colors. Colors of the prompt line can be configured using the diff --git a/docstring.go b/docstring.go index 5e0d8d7..358a3a4 100644 --- a/docstring.go +++ b/docstring.go @@ -121,7 +121,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) @@ -1344,11 +1344,7 @@ for fine grained customization. This is useful to change colors used for different file types and extensions. '$LS_COLORS' is more powerful than '$LSCOLORS' and it can be used even when GNU programs are not installed on the system. You can combine this second method with the first method for -best results. lf can also be configured to ignore your terminal theme and -output colors "as they were intended" by translating all numbered colors -into a 24-bit output that matches the description; this can be enabled by -setting the environment variable '$TCELL_TRUECOLOR' to "on" (or any text -except ""/nothing or "disable"). +best results. Lastly, you may also want to configure the colors of the prompt line to match the rest of the colors. Colors of the prompt line can be configured diff --git a/lf.1 b/lf.1 index 2454987..0ed40c5 100644 --- a/lf.1 +++ b/lf.1 @@ -1292,6 +1292,6 @@ It is worth noting that lf uses as many colors are advertised by your terminal's .PP Keeping this in mind, you can configure lf colors in two different ways. First, you can configure 8 basic colors used by your terminal and lf should pick up those colors automatically. Depending on your terminal, you should be able to select your colors from a 24-bit palette. This is the recommended approach as colors used by other programs will also match each other. .PP -Second, you can set the values of environmental variables mentioned above for fine grained customization. This is useful to change colors used for different file types and extensions. '$LS_COLORS' is more powerful than '$LSCOLORS' and it can be used even when GNU programs are not installed on the system. You can combine this second method with the first method for best results. lf can also be configured to ignore your terminal theme and output colors "as they were intended" by translating all numbered colors into a 24-bit output that matches the description; this can be enabled by setting the environment variable '$TCELL_TRUECOLOR' to "on" (or any text except ""/nothing or "disable"). +Second, you can set the values of environmental variables mentioned above for fine grained customization. This is useful to change colors used for different file types and extensions. '$LS_COLORS' is more powerful than '$LSCOLORS' and it can be used even when GNU programs are not installed on the system. You can combine this second method with the first method for best results. .PP Lastly, you may also want to configure the colors of the prompt line to match the rest of the colors. Colors of the prompt line can be configured using the 'promptfmt' option which can include hardcoded colors as ansi escapes. See the default value of this option to have an idea about how to color this line.