Skip to content

Commit

Permalink
Update doc.md
Browse files Browse the repository at this point in the history
Make the icon and colour configuration file more clear, as the names and locations of both files were not explicitly stated.
  • Loading branch information
hankertrix authored Dec 2, 2023
1 parent 6abce04 commit af9b05a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -1764,15 +1764,15 @@ You may instead divide it to multiple lines in between double quotes by escaping
"

Having such a long variable definition in a shell configuration file might be undesirable.
You may instead use the colors file for configuration.
You may instead use the colors file (~/.config/lf/colors) for configuration.
A sample colors file can be found at
https://github.com/gokcehan/lf/blob/master/etc/colors.example
You may also see the wiki page for ansi escape codes
https://en.wikipedia.org/wiki/ANSI_escape_code

# ICONS

Icons are configured using `LF_ICONS` environment variable or an icons file.
Icons are configured using `LF_ICONS` environment variable or an icons file (~/.config/lf/icons).
The variable uses the same syntax as `LS_COLORS/LF_COLORS`.
Instead of colors, you should put a single characters as values of entries.
Icons file should consist of whitespace separated pairs with `#` character to start comments until the end of line.
Expand Down

0 comments on commit af9b05a

Please sign in to comment.