DirColors is a Powershell implementation of GNU coreutils' dircolors/LS_COLORS support
MIT License
DirColors leverages Powershell's custom formatter support to provide an
implementation of GNU coreutils' ls --color=always
anywhere
FileInfo/DirectoryInfo objects are left to self-format.
DirColors adds support for:
LS_COLORS
from your environmentLS_COLORS
in your environment for coreutilsFor compatibility with existing utilities, DirColors will automatically read $LS_COLORS
from the
environment when it is loaded and write back to it when the color scheme is updated.
Assuming you've installed the module somewhere in your module path, just import the module in your profile and load a dircolors file.
Import-Module DirColors
# Load a color scheme
Update-DirColors ~\dir_colors