{"id":14982827,"url":"https://github.com/trapd00r/ls_colors","last_synced_at":"2025-05-13T23:05:01.251Z","repository":{"id":1025736,"uuid":"1592065","full_name":"trapd00r/LS_COLORS","owner":"trapd00r","description":"A collection of LS_COLORS definitions; needs your contribution!","archived":false,"fork":false,"pushed_at":"2024-12-20T18:41:18.000Z","size":819,"stargazers_count":2156,"open_issues_count":9,"forks_count":267,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-04-03T01:46:53.274Z","etag":null,"topics":["bash","color","pineapple","shell","terminal","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trapd00r.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-04-09T17:14:05.000Z","updated_at":"2025-03-31T08:35:54.000Z","dependencies_parsed_at":"2023-07-05T21:02:09.160Z","dependency_job_id":"23d73910-863a-4822-97c2-e18b8d582455","html_url":"https://github.com/trapd00r/LS_COLORS","commit_stats":{"total_commits":369,"total_committers":71,"mean_commits":5.197183098591549,"dds":0.6097560975609756,"last_synced_commit":"20cc87c21f5f54cf86be7e5867af9efc65b8b4e3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2FLS_COLORS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2FLS_COLORS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2FLS_COLORS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2FLS_COLORS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trapd00r","download_url":"https://codeload.github.com/trapd00r/LS_COLORS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154059,"owners_count":21056536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","color","pineapple","shell","terminal","zsh"],"created_at":"2024-09-24T14:06:13.684Z","updated_at":"2025-04-10T03:38:40.897Z","avatar_url":"https://github.com/trapd00r.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LS_COLORS\n\n![Build](https://github.com/trapd00r/LS_COLORS/actions/workflows/build.yaml/badge.svg)\n\n\u003c!-- mdformat-toc start --slug=github --no-anchors --maxlevel=3 --minlevel=1 --\u003e\n\n- [LS_COLORS](#ls_colors)\n  - [What does it look like?](#what-does-it-look-like)\n  - [Dependencies](#dependencies)\n  - [Installation](#installation)\n    - [Arch Linux](#arch-linux)\n  - [Information for Developers](#information-for-developers)\n  - [Legal](#legal)\n\n\u003c!-- mdformat-toc end --\u003e\n\nThis is a collection of extension:color mappings, suitable to use as your\n`LS_COLORS` environment variable. Most of them use the extended color map,\ndescribed in the ECMA-48 document; in other words, you'll need a terminal\nwith capabilities of displaying 256 colors.\n\nAs of this writing, around 300 different filetypes/extensions is supported.\nThat's indeed a lot of extensions, but there's a lot more! Your help is greatly\nappreciated.\n\nFork this project on github, add the extensions you are missing, and send a pull\nrequest.\n\nSome guidelines:\n\nFor files that usually ends up next to each other, like html, css and js,\ntry to pick colors that fits in nicely together. Filetypes with multiple\npossible extensions, like htm and html, should have the same color.\n\n## What does it look like?\n\nHere's a screenshot _(font and minor color shades, of course, depend on terminal and its configuration)_:\n\n![Screenshot1](docs/static/LS_COLORS.png)\n\n## Dependencies\n\nYou need GNU `dircolors` and a compatible directory listing tool, such as GNU\n`ls`. Both are available in GNU coreutils.\n\n## Installation\n\nThe repo contains two compiled scripts `lscolors.sh` \u0026 `lscolors.csh`, which you can download \u0026 source directly or point your plugin manager to pick up one of them.\n\nTo enable the colors, add the following line to your shell's start-up script:\n\nFor Bourne shell (e.g. `~/.bashrc` or `~/.zshrc`):\n\n```\nsource ~/path/to/lscolors.sh\n```\n\nFor C shell or [fish shell](https://fishshell.com/) (e.g. `~/.cshrc` or `~/.config/fish/config.fish`):\n\n```\nsource ~/path/to/lscolors.csh\n```\n\nIf you prefer to manually generate these files, an installation script is provided with this repository:\n\n```console\n$ mkdir /tmp/LS_COLORS \u0026\u0026 curl -L https://api.github.com/repos/trapd00r/LS_COLORS/tarball/master | tar xzf - --directory=/tmp/LS_COLORS --strip=1\n$ ( cd /tmp/LS_COLORS \u0026\u0026 make install )\nTo enable the colors, add the following line to your shell's start-up script:\n\nFor Bourne shell (e.g. ~/.bashrc or ~/.zshrc):\n  source \"~/.local/share/lscolors.sh\"\n\nFor C shell (e.g. ~/.cshrc):\n  source \"~/.local/share/lscolors.csh\"\n$\n```\n\n### Arch Linux\n\nArch Linux users can install the [`lscolors-git`][3] package from the AUR for easy\nintegration with bash, csh, or zsh.\n\n## Information for Developers\n\nThere's a [library][1] I've written that lets you use various LS COLORS on\narbitrary files and directories. A simple implementation can be found [here][2].\n\nUsing this, you can do\n\n```shell\nfind $HOME -maxdepth 1  | ls_color\n\nmpc search artist Laleh | ls_color\n```\n\n... and so on.\n\n## Legal\n\n© Copyright 2014-2022 Magnus Woldrich.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE.  See the Perl Artistic License for more details.\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the Perl Artistic License as published by the Perl Foundation,\neither version 1.0 of the License, or (at your option) any later version.\n\nYou should have received a copy of the Perl Artistic License along\nwith this program.  If not, see \u003chttp://www.perlfoundation.org/artistic_license_1_0\u003e.\n\n[1]: https://github.com/trapd00r/File-LsColor\n[2]: https://github.com/trapd00r/File-LsColor/tree/master/bin\n[3]: https://aur.archlinux.org/packages/lscolors-git\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrapd00r%2Fls_colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrapd00r%2Fls_colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrapd00r%2Fls_colors/lists"}