Skip to content

Instantly share code, notes, and snippets.

@Skeeve
Skeeve / LC_COLORS.md
Created Oct 25, 2021 — forked from thomd/LC_COLORS.md
LSCOLORS & LS_COLORS
View LC_COLORS.md

alternatively use: http://geoff.greer.fm/lscolors/

LSCOLORS

The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a     black
@Skeeve
Skeeve / gist:cf596b335f6cb16f2762d1f95e297ccb
Created Oct 30, 2020
Mojo::Command usage using Pod::Usage
View gist:cf596b335f6cb16f2762d1f95e297ccb
has usage => sub {
my $pod = '';
open my $printpod, '>', \$pod;
pod2usage(
-input => __FILE__,
-verbose => 1,
-exitval => 'NOEXIT',
-output => $printpod,
);
close $printpod;