Scroll to navigation

VIFM-CONVERT-DIRCOLORS(1) General Commands Manual VIFM-CONVERT-DIRCOLORS(1)

NAME

vifm-convert-dircolors - converts ls colorscheme to vifm colorscheme

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

Displays brief help message.
Instructs the script to use $LS_COLORS environment variable instead of data from file or standard input stream.
Output patterns on separate lines.
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 ~/.vifm/colors/Default:



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

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



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

SEE ALSO

dircolors(1), ls(1), vifm(1)

AUTHOR

This manual page was written by xaizek <xaizek@posteo.net>.

September 29, 2021 vifm 0.12