dircolors-hd

Crates.iodircolors-hd
lib.rsdircolors-hd
version0.2.0
sourcesrc
created_at2018-11-29 22:20:55.823419
updated_at2018-11-29 22:20:55.823419
descriptionLS_COLORS manager with multiple themes
homepagehttps://github.com/sharkdp/dircolors-hd
repositoryhttps://github.com/sharkdp/dircolors-hd
max_upload_size
id99281
size41,547
David Peter (sharkdp)

documentation

README

dircolors-hd

Build Status

A manager for LS_COLORS expressions. In contrast to dircolors, it uses a YAML-based configuration file for the filetype-database and the color themes. Colors can be specified in #RRGGBB format instead of cryptic ANSI codes.

Usage:

export LS_COLORS="$(dircolors-hd generate filetypes.yml --theme themes/molokai.yml)"

Preview of "ls -R"

True color

By default, dircolors-hd runs in true color mode (24-bit). If you don't use a terminal that supports 24-bit colors, use the --color-mode 8-bit option when running dircolors-hd.

Installation

On Debian-based systems

wget "https://github.com/sharkdp/dircolors-hd/releases/download/v0.2.0/dircolors-hd_0.2.0_amd64.deb"
sudo dpkg -i dircolors-hd_0.2.0_amd64.deb

On other distrubutions

Check out the release page for binary builds.

Via cargo

If you have Rust 1.30 or higher, you can install dircolors-hd from source via cargo:

cargo install dircolors-hd

License

Licensed under either of

at your option.

Similar and related projects

Commit count: 243

cargo fmt