Closed rew1nter closed 1 year ago
Does it look like ls
colours when you clear $EXA_COLORS
?
$ EXA_COLORS=
$ ls
yes
You may also want to see this
Then you need to remove the EXA_COLORS
line in your .bashrc
if there is one and add EXA_COLORS=
to reset the defaults. You can use it to modify various colours in exa
even if you don't like the file colours.
https://the.exa.website/docs/colour-themes
I use $LS_COLORS
instead for the file colours, as exa
also uses $LS_COLORS
(but $EXA_COLORS
overrides it). There are lots of guides on how you can use a dircolors
file to set $LS_COLORS
. Maybe have a look at the Arch wiki.
It's weird. I have no EXA_COLORS
set on my .bashrc
.
dircolors shows I have both EXA_COLORS
and LS_COLORS
defined as env vars, which are exactly the same.
Yet exa
's output color is different than ls
!
The workaround I came for this issue is export EXA_COLORS='ln=01;36';
.
Am I doing it correctly?
You can just use EXA_COLORS=
to reset it. You are adding a colour for symlinks in your line there, which you may want to do.
https://github.com/ogham/exa/blob/master/man/exa_colors.5.md
You aren't using dircolors
properly. It's used to define LS_COLORS
.
You can see what the values of $LS_COLORS
or $EXA_COLORS
with either of these:
$ echo $EXA_COLORS
$ printenv EXA_COLORS
I'm using dircolors to print the env vars there. Since printenv and echo don't work for some reason
However, The workaround is working fine for now
The first one is of
ls
and the second one is exa. I find thels
one really nice. Is it possible to get the same color for exa?