.TH VIFM\-CONVERT\-DIRCOLORS 1 "September 29, 2021" "vifm 0.12" .\" --------------------------------------------------------------------------- .SH "NAME" .\" --------------------------------------------------------------------------- vifm\-convert\-dircolors \- converts ls colorscheme to vifm colorscheme .\" --------------------------------------------------------------------------- .SH "SYNOPSIS" .\" --------------------------------------------------------------------------- \fBvifm\-convert\-dircolors\fR [\fI\-h\fR|\fI\-\-help\fR] [\fI\-e\fR|\fI\-\-environment\fR] [\fI-r\fR|\fI--human-readable\fR] [\fIdircolors_file\fR] .\" --------------------------------------------------------------------------- .SH "DESCRIPTION" .\" --------------------------------------------------------------------------- Converts ls file highlighting configuration (dircolors) into set of vifm highlight commands. Outputs results to standard output. .\" --------------------------------------------------------------------------- .SH "OPTIONS" .\" --------------------------------------------------------------------------- .TP .BI "\-h, \-\-help" Displays brief help message. .TP .BI "\-e, \-\-environment" Instructs the script to use \fB$LS_COLORS\fR environment variable instead of data from file or standard input stream. .TP .BI "\-r, \-\-human\-readable" Output patterns on separate lines. .TP .BI dircolors_file Converting of colorscheme file only. .LP When both \fB\-\-environment\fR option and \fBdircolors_file\fR are absent, standard input stream is read. .\" --------------------------------------------------------------------------- .SH "EXAMPLES" .\" --------------------------------------------------------------------------- Parse \fB$LS_COLORS\fR and append results of conversion to \fI~/.vifm/colors/Default\fR: .EX .B vifm\-convert\-dircolors \-e >> ~/.vifm/colors/Default .EE Parse \fI/etc/DIR_COLORS\fR and store results of conversion to \fI~/.vifm/colors/ls\-based\fR: .EX .B vifm\-convert\-dircolors /etc/DIR_COLORS > ~/.vifm/colors/ls\-based .EE .\" --------------------------------------------------------------------------- .SH "SEE ALSO" .\" --------------------------------------------------------------------------- .BR dircolors (1), .BR ls (1), .BR vifm (1) .\" --------------------------------------------------------------------------- .SH "AUTHOR" .\" --------------------------------------------------------------------------- This manual page was written by xaizek .