15 LS Colors

BashStyle-NG LS Colors

Figure 15.1: LS Colors

Basic

Setting: use_lscolors Customize LS Colors

This master switch will make BashStyle-NG adjust the LS_COLORS environment variable to make ls, and other commands utilizing it, use your color settings.

Setting: custom Custom

Define additional settings for LS_COLORS, if use_vivid is enabled, this will still work, as your custom settings are the last to be enabled.

The syntax is *filetype=colordefinition, for example *README.md=0;38;2;239;241;245;48;2;223, sets an orange background and white text for README.md files, of course more simple color definitions like *.png=01;35 which will make .png files appear magneta, work as well.

Setting: use_vivid Use vivid

vivid (https://github.com/sharkdp/vivid) is a generator for LS_COLORS, whichs uses YAML configuration. If vivid is installed, you can use it instead of manual configuration from BashStyle-NG.

Setting: vivid_cholorscheme Choose vivid color scheme

Choose which predefinied colorscheme to use for vivid, use vivid preview $theme for a preview in your terminal.

If you don’t want to use vivid the following settings allow to customize the most commong file types manually, using Bashstyle-NG’s predefined colors, note: the color style from the Style Settings apply here aswell.

Theese are disabled, when vivid is in use.