Git Product home page Git Product logo

Comments (11)

antoineco avatar antoineco commented on June 1, 2024 10

I'd like to share my LSCOLORS which seems slightly closer to dircolors.ansi-dark, for those of you who use the actual Solarized palette in your terminal.

LSCOLORS=exfxfeaeBxxehehbadacea

Because the original screenshots disappeared I made some myself:

Comparison

With the OP's value:

op

With the value I shared:
(note the color of regular directories, directory777, and absence of boldness for non-executables)

custom

On Linux with dircolors.ansi-dark:

linux

from dircolors-solarized.

lukebp avatar lukebp commented on June 1, 2024 5

If you install GNU coreutils with homebrew, the eval `dircolors /path/to/dircolorsdb` command from the documentation will need to be changed to eval `gdircolors /path/to/dircolorsdb` .

from dircolors-solarized.

seebi avatar seebi commented on June 1, 2024

hi logic, can you provide a screenshot here so that people can see how it looks like. I can link this issue from the README ...

from dircolors-solarized.

logic avatar logic commented on June 1, 2024

Sure, no problem. Here are the default colors:

http://k.min.us/jX7u2.png

And here they are in a Solarized-esque version:

http://k.min.us/jT8h4.png

(Gallery link.)

from dircolors-solarized.

seebi avatar seebi commented on June 1, 2024

Thanks, I've added a note to this issue ...

from dircolors-solarized.

teoljungberg avatar teoljungberg commented on June 1, 2024

There is also another way.
You can install coreutils from homebrew and use that without replacing the OS X tools. Since they are installed with 'g' as the prefix
in your .bashrc, .profile or .bash_profile add this line
"
# Load GNU aliases
source /usr/local/Cellar/coreutils/8.12/aliases
"
and alias ls to GNUs alias
"
alias ls='gls --color=auto'
"
and of course add the aliases to coreutils before the ls alias
"
# Load GNU aliases
source /usr/local/Cellar/coreutils/8.12/aliases
"

from dircolors-solarized.

PhilHudson avatar PhilHudson commented on June 1, 2024

coreutils can also be installed from the fink and MacPorts repositories (older alternatives to homebrew). Choose one and stick with it; don't mix them!

from dircolors-solarized.

zevaverbach avatar zevaverbach commented on June 1, 2024

@teoljungberg is "aliases" meant to be a directory or file (8.23_1 has no such file/directory)? what should be done after adding these lines to .bashrc/.bash_profile to make this work?

from dircolors-solarized.

teoljungberg avatar teoljungberg commented on June 1, 2024

@zevav It was when I wrote up that guideline, but after looking into it now I can see that it's not a directory. If you use homebrew as I used, and if you have /usr/local/bin in your path you have all of these in your PATH already. You can just alias ls to gls

from dircolors-solarized.

levelont avatar levelont commented on June 1, 2024

This worked for me:

https://apple.stackexchange.com/questions/282185/how-do-i-get-different-colors-for-directories-etc-in-iterm2

from dircolors-solarized.

jspv avatar jspv commented on June 1, 2024

Any chance there is a more recent LSCOLORS example that matches the ones in this repository? For example, the symbolic link in this repo's discolors example is cyan (light blue), the LSCOLORS in this thread and screenshots show it as magenta (bright purple).

from dircolors-solarized.

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.