Closed benjaminedwardwebb closed 4 months ago
LS_COLORS
This adds support for styling entries using the LS_COLORS environment variable. This styling is gated behind a configuration variable. If it's enabled, any other styling for entries based on theme configuration is ignored.
An example configuration line looks like
lscolors_enabled = true
in theme.toml.
theme.toml
This change adds a dependency on the lscolors crate. It addresses issue https://github.com/kamiyaa/joshuto/issues/443.
lscolors
I verified these changes by running
nix develop --impure , run
on my local machine.
uname -a
Linux berrio 6.1.72 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 10 16:10:37 UTC 2024 x86_64 GNU/Linux
Here's an image of when lscolors_enabled = true in theme.toml.
Here's an image of when lscolors_enabled = false in theme.toml.
lscolors_enabled = false
I also confirmed that
lscolors_enabled
joshuto
false
It looks like this addresses an existing issue https://github.com/kamiyaa/joshuto/issues/443
support
LS_COLORS
This adds support for styling entries using the
LS_COLORS
environment variable. This styling is gated behind a configuration variable. If it's enabled, any other styling for entries based on theme configuration is ignored.An example configuration line looks like
in
theme.toml
.This change adds a dependency on the
lscolors
crate. It addresses issue https://github.com/kamiyaa/joshuto/issues/443.verification
I verified these changes by running
on my local machine.
Here's an image of when
lscolors_enabled = true
intheme.toml
.Here's an image of when
lscolors_enabled = false
intheme.toml
.I also confirmed that
lscolors_enabled
is not set in the configuration at all,joshuto
behaves as if it isfalse
joshuto
ignorelscolors_enabled
if it exists in thetheme.toml
file