Coder Social home page Coder Social logo

Comments (8)

haroun avatar haroun commented on May 31, 2024 1

I had the same issue and it has already been solved here https://github.com/arcticicestudio/nord-dircolors/pull/21/files

I don’t know why it was removed from the README file

For zsh, color does not output to the terminal for ls unless ls --color is used. You can alias the ls command inside your .zshrc file with alias ls='ls --color=auto' to have ls output the colors for each session.

Credits to @szul

from dircolors.

svengreb avatar svengreb commented on May 31, 2024 1

@haroun PRs are always welcome, but like described in the linked comment this is simply out of scope for this project. I know that it might be hard to understand for users who are new to Unix/GNU/Linux tooling, but adding instructions and details about really each piece of the puzzle is absolutely exaggerated.

I'm running out of words to explain, but maybe imagine this: You searched and found a recipe you'd like to cook, but it does not contain a detailed guide how to use a fork nor how to use a steak knife and there are no information about every single type of kitchen knife in as much detail as a Wikipedia article. The scope of the recipe is to provide a list of required ingredients and the steps how to process them, but explaining such basics is absolutely out of scope.

This example can be reflected to the problem here: Users must know what dircolors is and that the ls commands are not bound to a specific shell at all but are simply basic external tool(s). Like you mentioned the page about the supported types also includes a information box at the top which basically shouldn't be part of the documentation either, but has been added to help at least to quickly get an idea how dircolors is working.

from dircolors.

haroun avatar haroun commented on May 31, 2024 1

@svengreb that's good enough for me. Thank you.

I'll let @Stratos-Crimson close the issue if he or she considers the initial problem solved.

from dircolors.

jpasquier avatar jpasquier commented on May 31, 2024

Hi,

I have the same problem with alacritty and zsh.

Best regards

from dircolors.

Stratos-Crimson avatar Stratos-Crimson commented on May 31, 2024

Thanks, but why the auto?
Also, I am still not getting syntax highlighting

from dircolors.

svengreb avatar svengreb commented on May 31, 2024

Please see my detailed explanation in #21 (comment) that describes how dircolors works and that it is not related to specific shells at all.

from dircolors.

haroun avatar haroun commented on May 31, 2024

@svengreb thank you for the details. Sadly the README.md nor the official installation & activation guide mentions that.

Will it be OK if I open a PR with a link to the official type support guide?

from dircolors.

Stratos-Crimson avatar Stratos-Crimson commented on May 31, 2024

Thank you :)

from dircolors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.