Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files created with bzip3 don't color correctly #1134

Closed
saltedcoffii opened this issue Oct 14, 2022 · 4 comments
Closed

Files created with bzip3 don't color correctly #1134

saltedcoffii opened this issue Oct 14, 2022 · 4 comments

Comments

@saltedcoffii
Copy link

If exa does something unexpected, or its output looks wrong, or it displays an error on the screen, or if it outright crashes, then please include the following information in your report:

$ exa --version
exa - list files on the command-line
v0.10.1 [+git]
https://the.exa.website/
  • No command line operators
  • Arch Linux x86-64 rolling

Files created with bzip3 don't highlight correctly like other compressed archives. See the attached image:
image

@eggbean
Copy link

eggbean commented Oct 14, 2022

Are you not using dircolors? Make a file for dircolors to form the LS_COLORS environment variable to set colours for every filetype that you want.

https://wiki.archlinux.org/title/Color_output_in_console#ls

@saltedcoffii
Copy link
Author

ah okay. I didn't know exa used the LS_COLORS variable. I'll open an issue with coreutils. Closing this issue, it can be marked as invalid if need be.

@ariasuni
Copy link
Collaborator

ariasuni commented Nov 7, 2022

Before applying LS_COLORS or EXA_COLORS, documented in man 5 exa_colors, exa uses its own colors. So I’m re-opening this, because I think that exa should support bz3 for colors and icons.

For looking to add this, here’s the code where bz3 should be added:

"zip", "tar", "Z", "z", "gz", "bz2", "a", "ar", "7z",

exa/src/output/icons.rs

Lines 126 to 128 in e385cd5

"bz" => '\u{f410}', // 
"bz2" => '\u{f410}', // 
"c" => '\u{e61e}', // 

@ariasuni
Copy link
Collaborator

Closing this, since exa is unmaintained (see #1243), and this has been done in the active fork eza. Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants