summaryrefslogtreecommitdiffstats
path: root/data/man/vifm-convert-dircolors.1
blob: 47d52979e8337b92733df6daed325f4c63515a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.TH VIFM\-CONVERT\-DIRCOLORS 1 "July 29, 2019" "vifm 0.10.1"
.\" ---------------------------------------------------------------------------
.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 <xaizek@posteo.net>.