vifm-convert-dircolors(1)

vifm-convert-dircolors1

Converts ls colorscheme to vifm colorscheme

Usage

vifm-convert-dircolors [{-h | --help}] [{-e | --environment}] [{-r | --human-readable}] [dircolors_file]

Overview

Converts ls file highlighting configuration (dircolors) into set of vifm highlight commands. Outputs results to standard output.

Options

-h, --help

Displays brief help message.

-e, --environment

Instructs the script to use $LS_COLORS environment variable instead of data from file or standard input stream.

-r, --human-readable

Output patterns on separate lines.

dircolors_file

Converting of colorscheme file only.

When both --environment option and dircolors_file are absent, standard input stream is read.

Examples

Parse $LS_COLORS and append results of conversion to ~/.config/vifm/colors/Default.vifm:

    vifm-convert-dircolors -e >> ~/.config/vifm/colors/Default.vifm

Parse /etc/DIR_COLORS and store results of conversion to ~/.config/vifm/colors/ls-based.vifm:

    vifm-convert-dircolors /etc/DIR_COLORS > ~/.config/vifm/colors/ls-based.vifm

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

Author

This manual page was written by xaizek <[email protected]>.

From vifm 0.14.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.