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

Enable both GNU and OS X ls commands to use Solarized colorscheme. #451

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BillSantos
Copy link
Contributor

Hi Mathias, I added capability for the ls command to utilize the Solarized color scheme, like the
rest of your repo. Let me know what you think.

File: .aliases

For GNU ls:

Replace LS_COLORS environment variable export with values that represent
Solarized colorscheme.

For OS X ls:

Add export of LSCOLORS environment variable with values for Solarized.

File:       .aliases

For GNU `ls`:

Replace LS_COLORS environment variable export with values that represent
Solarized colorscheme.

For OS X `ls`:

Add export of LSCOLORS environment variable with values for Solarized.
@brendensoares
Copy link

This is very nice. The default dark blue for folders is unreadable.

@mathiasbynens
Copy link
Owner

Can you share a screenshot?

@kdeldycke
Copy link
Contributor

Screenshots seems available here: seebi/dircolors-solarized#10 (comment)

I use these myself in my dotfiles: https://github.com/kdeldycke/dotfiles/blob/master/.bash_profile#L65-L72

Bring feature branch ls_solarized of my fork BillSantos/dotfiles
up to date with mathiasbynens/dotfiles, which is the upstream
master of my project.
@BillSantos
Copy link
Contributor Author

@mathiasbynens
Mathias, here are the screenshots for the GNU LS_COLORS side of things. I'm using Xfce terminal in Debian.

gnu ls_colors solarized light
gnu ls_colors solarized dark

@BillSantos
Copy link
Contributor Author

@mathiasbynens

And here are the screenshots for OS X LSCOLORS using OS X 10.8's version of BSD ls. I'm using Apple's native Terminal.app.

Note that compared to the GNU version of ls in (previous post and screenshots), BSD's version does not offer as many options for different types of files, hence less variety in colors for certain files.

osx lscolors solarized light
osx lscolors solarized dark

@jeffbyrnes
Copy link
Contributor

These are awesome. 👍

@mathiasbynens mathiasbynens changed the base branch from master to main June 16, 2020 07:07
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

Successfully merging this pull request may close these issues.

5 participants