FreeBSD Manual Pages
OPENDIRCOLORS(1) General Commands Manual OPENDIRCOLORS(1) NAME opendircolors -- Generate colors for ls(1) SYNOPSIS opendircolors [-bch] file DESCRIPTION The opendircolors utility reads the inputed file and generates values for LSCOLORS and LS_COLORS. This is a near drop in replacement for GNU's dircolors(1), except it does not contain -p or have any default values. If file is a single dash (`-') opendircolors reads from the standard input. The options are as follows: -b, --sh, --bourne-shell Format the output for use with a bourne-shell. -c, --csh, --c-shell Format the output for use with csh(1) or tcsh(1). -h, --help ENVIRONMENT LSCOLORS The color string used for ls(1). LS_COLORS The color string for GNU ls(1) and various other utilities such as tree(1). EXIT STATUS The opendircolors utility exits 0 on success, and >0 if an error oc- curs. EXAMPLE Add 'eval "`opendircolors ~/.dir_colors`"' to your .shrc to automati- cally set LSCOLORS and LS_COLORS. SEE ALSO dirconvert(1) HISTORY The dircolors(1) utility first appeared in GNU coreutils on Apr 29, 1996, written by FreeBSD 14.3 April 27, 2021 OPENDIRCOLORS(1)
NAME | SYNOPSIS | DESCRIPTION | ENVIRONMENT | EXIT STATUS | EXAMPLE | SEE ALSO | HISTORY
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=dircolors&sektion=1&manpath=FreeBSD+14.3-RELEASE+and+Ports>