Lsd: No colors using lsd on Konsole with Bash

Created on 3 Sep 2019  Â·  6Comments  Â·  Source: Peltoche/lsd

Using the packaged lsd-musl_0.16.0_amd64.deb on Ubuntu 19.04.

echo $TERM
xterm-256color

In Konsole, with Bash neither lsd nor lsd --color always print colors.

In Konsole, with Zsh, lsd prints colors.

In Alacritty, with either Bash or Zsh, lsd prints colors.

kinbug

Most helpful comment

I had the same issue. But then I copied https://github.com/jwilm/alacritty/releases/download/v0.4.0/alacritty.yml to $HOME/.alacritty.yml

then, I set

env:
  TERM: xterm-256color

and now lsd is outputting colors as intended.

All 6 comments

I had the same issue. But then I copied https://github.com/jwilm/alacritty/releases/download/v0.4.0/alacritty.yml to $HOME/.alacritty.yml

then, I set

env:
  TERM: xterm-256color

and now lsd is outputting colors as intended.

@ngirard make sure you have a proper TERM set.

Check if the $TERM value is something like xterm.... or screen....

My TERM is xterm-256color.

Le ven. 17 avr. 2020 à 16:02, Abin Simon notifications@github.com a
écrit :

@ngirard https://github.com/ngirard make sure you have a proper TERM
set.

Check if the $TERM value is something like xterm.... or screen....

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Peltoche/lsd/issues/274#issuecomment-615261856, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAX6MXYJLA2TCAHOEU4ZXLRNBOP5ANCNFSM4ITILSZA
.

--
Nicolas Girard
Tél: 07 77 82 21 74
Nicolas Girard fait partie de Coopaname, SCOP-SA à capital variable
RCS Paris : 448 762 526 - APE: 7022Z - Nº Intracom: FR49 448 762 526
37/ rue Albert Marquet - 75020 Paris

Oh, wait. You had the term mentioned in the issue. My bad. I got a bit careless.

Could you show the output of $LS_COLORS and the lsd version.

Oh, wait. You had the term mentioned in the issue. My bad. I got a bit careless.

Hey, no problem !
And there's a god news: I installed the latest release, and the problem seems to be gone ! Yay !

I think this issue can be closed as fixed, I'll just leave it to you since there was another person in this thread reporting the same issue.
Cheers and take care!

@ngirard Awesome!
Looks like in his case it was a term issue which he fix after the config update to alacritty.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jfernandz picture jfernandz  Â·  6Comments

hawkw picture hawkw  Â·  5Comments

Phuker picture Phuker  Â·  5Comments

jcassee picture jcassee  Â·  5Comments

sklages picture sklages  Â·  5Comments