All Projects → trapd00r → Ls_colors

trapd00r / Ls_colors

Licence: other
A collection of LS_COLORS definitions; needs your contribution!

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Ls colors

Nord Alacritty
An arctic, north-bluish clean and elegant Alacritty color scheme.
Stars: ✭ 238 (-84.82%)
Mutual labels:  terminal, zsh, color
Nord Konsole
An arctic, north-bluish clean and elegant Konsole color scheme.
Stars: ✭ 56 (-96.43%)
Mutual labels:  terminal, zsh, color
Nord Gnome Terminal
An arctic, north-bluish clean and elegant GNOME Terminal color theme.
Stars: ✭ 258 (-83.55%)
Mutual labels:  terminal, zsh, color
Nord Terminal App
An arctic, north-bluish clean and elegant Terminal.app color theme.
Stars: ✭ 198 (-87.37%)
Mutual labels:  terminal, zsh, color
Nord Guake
An arctic, north-bluish clean and elegant Guake color theme.
Stars: ✭ 20 (-98.72%)
Mutual labels:  terminal, zsh, color
Dotfiles
My dotfiles 🚀. Includes configs for neovim, tmux, zsh, alacritty and more.
Stars: ✭ 47 (-97%)
Mutual labels:  terminal, zsh
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-96.62%)
Mutual labels:  terminal, color
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (-31.12%)
Mutual labels:  terminal, color
Colorechoforshell
Make 🐚(shell) 's 💬 (`echo`) to be 🌈 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟
Stars: ✭ 75 (-95.22%)
Mutual labels:  zsh, color
Termite Color Switcher
termite color switcher
Stars: ✭ 28 (-98.21%)
Mutual labels:  terminal, color
Python Terminal Color
Drop-in single file library for printing color in terminal
Stars: ✭ 59 (-96.24%)
Mutual labels:  terminal, color
Xa
Beautiful & Customizable logger ❤️
Stars: ✭ 78 (-95.03%)
Mutual labels:  terminal, color
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (-34.76%)
Mutual labels:  terminal, color
Dotfiles
@anmoljagetia's Dotfiles! Saves me several seconds!
Stars: ✭ 42 (-97.32%)
Mutual labels:  terminal, zsh
Dotfiles
Colourful & robust configuration files and utilities for Mac, Linux and BSD
Stars: ✭ 1,006 (-35.84%)
Mutual labels:  terminal, zsh
Colors
List of 256 color codes for Xterm including an example of the color, Xterm Name, Xterm Number, HEX, RGB and HSL code.
Stars: ✭ 73 (-95.34%)
Mutual labels:  terminal, color
Zui
⬢ Zsh User Interface library – CGI+DHTML-like rapid application development with Zsh
Stars: ✭ 95 (-93.94%)
Mutual labels:  terminal, zsh
Nord Terminator
An arctic, north-bluish clean and elegant Terminator color theme.
Stars: ✭ 78 (-95.03%)
Mutual labels:  terminal, zsh
Nord Hyper
An arctic, north-bluish clean and elegant Hyper theme plugin.
Stars: ✭ 96 (-93.88%)
Mutual labels:  terminal, color
Closestx11color
Find the closest xterm-256 colors (between 0 and 255) to an arbitrary HTML hexa color (e.g. #ABCDEF)
Stars: ✭ 13 (-99.17%)
Mutual labels:  terminal, color

Table of contents

LS_COLORS

This is a collection of extension:color mappings, suitable to use as your LS_COLORS environment variable. Most of them use the extended color map, described in the ECMA-48 document; in other words, you'll need a terminal with capabilities of displaying 256 colors.

As of this writing, around 300 different filetypes/extensions is supported. That's indeed a lot of extensions, but there's a lot more! Your help is greatly appreciated.

Fork this project on github, add the extensions you are missing, and send a pull request.

Some guidelines:

For files that usually ends up next to each other, like html, css and js, try to pick colors that fits in nicely together. Filetypes with multiple possible extensions, like htm and html, should have the same color.

What does it look like?

Here's a screenshot (font and minor color shades, of course, depend on terminal and its configuration):

Screenshot1

Dependencies

You need GNU dircolors and a compatible directory listing tool, such as GNU ls. Both are available in GNU coreutils.

Installation

An installation script is provided with this repository:

$ mkdir /tmp/LS_COLORS && curl -L https://api.github.com/repos/trapd00r/LS_COLORS/tarball/master | tar xzf - --directory=/tmp/LS_COLORS --strip=1
$ ( cd /tmp/LS_COLORS && sh install.sh )
To enable the colors, add the following line to your shell's start-up script:

For Bourne shell (e.g. ~/.bashrc or ~/.zshrc):
  . "~/.local/share/lscolors.sh"

For C shell (e.g. ~/.cshrc):
  . "~/.local/share/lscolors.csh"
$

Arch Linux

Arch Linux users can install the lscolors-git package from the AUR for easy integration with bash, csh, or zsh.

Information for Developers

There's a library I've written that lets you use various LS COLORS on arbitrary files and directories. A simple implementation can be found here.

Using this, you can do

find $HOME -maxdepth 1  | ls_color

mpc search artist Laleh | ls_color

... and so on.

Legal

© Copyright 2014-2020 Magnus Woldrich.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Perl Artistic License for more details.

This program is free software: you can redistribute it and/or modify it under the terms of the Perl Artistic License as published by the Perl Foundation, either version 1.0 of the License, or (at your option) any later version.

You should have received a copy of the Perl Artistic License along with this program. If not, see http://www.perlfoundation.org/artistic_license_1_0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].