Skip to content

Doc ability to customize FileInfo colors #7017

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new document or enhancement

Description of what changed

Built on PSAnsiRendering experimental feature to enable coloring of specific file types. Example:

Adds FileInfo member to $PSStyle automatic variable to allow customization. Directory, SymbolicLink, and Executable are built-in, but an Extension member which is a dictionary allows modification and addition of new extensions and custom styles. Leverages existing NameString extended member for coloring. Pre-included extensions for archives and PowerShell files. Default color choices are mostly consistent with ls --color.

Metadata

Metadata

Assignees

Labels

area-experimentalArea - experimental feature support

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions