App-lsplusplus

 view release on metacpan or  search on metacpan

ls++.conf  view on Meta::CPAN

  $c[4]  = 239;
  $c[5]  = 209;
  $c[6]  = 185;
  $c[7]  = 216;
  $c[8]  = 244;
  $c[9]  = 254;
  $c[10] = 243;
  $c[11] = 241;
  $c[12] = 240;
  $c[13] = 239;
  $c[14] = 237;
  $c[15] = 220;
}

elsif($colorscheme eq 'trapd00r') {
  $c[0]  = 237;
  $c[1]  = 131;
  $c[2]  = 107; # K
  $c[3]  = 075; # G, sec
  $c[4]  = 240; # day
  $c[5]  = 209; # +x
  $c[6]  = 185; # +r
  $c[7]  = 216; # +w, M
  $c[8]  = 220;
  $c[9]  = 208; # hour
  $c[10] = 243;
  $c[11] = 161;
  $c[12] = 240;
  $c[13] = 025;
  $c[14] = 248; # Bytes, month
  $c[15] = 196; # Min
  $c[16] = 30 ; # directory
}
#>


=pod

=head1 NAME

ls++.conf - ls++ configuration file

=head1 DESCRIPTION

ls++.conf is the configuration file for ls++(1). ls++ first searches for it at
~/.config/ls++/ls++.conf then at ~/.ls++.conf then at ./ls++.conf and finally at
/etc/ls++.conf.

Lines beginning with a '#' character are comments. All other non-empty lines
are live Perl code. This gives a lot of power to the end user, but it also
allows for fuckups.

Please don't fuckup.

=head1 ENVIRONMENT

=over 8

=item @d

Array containting the characters to use for delimiting the columns.

=item @c

Array containing the colors to be used.

=item $colorscheme

Colorscheme to be used.

=item %ls_colors

A hash where its keys are patterns (possibly valid regular expressions) to be
matched against the files. The values should be attributes or colors which will
be added to the output.

This does the same thing as LS_COLORS, except that you can match against the
full filname, and not only the extension. Using LS_COLORS, you could never match
README or Makefile for example. Those two are matched by default.

The special value IGNORE will ignore all files matching the key pattern.

=back

=head1 COLORS

The default colortable left here for reference (ANSI colors).

    0    NULL              black
    1    NULL              bright black
    2    K                 red
    3    G, sec            bright red
    4    day               green
    5    +x                bright green
    6    +r                yellow
    7    +w, M             bright yellow
    8    other             blue
    9    hour              bright blue
    10                     magenta
    11   +s                bright magenta
    12                     cyan
    13   link              bright cyan
    14   B, month, delim   white

    15
    16                      reset
    17                      bold

=head1 AUTHOR

  Magnus Woldrich
  CPAN ID: WOLDRICH
  m@japh.se
  http://japh.se

=head1 REPORTING BUGS

Report bugs and/or feature requests on L<https://github.com/trapd00r/ls--/issues>
or to L<m@japh.se>

=head1 COPYRIGHT



( run in 2.661 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )