Skip to content

Doc ability to customize FileInfo colors #7017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SteveL-MSFT opened this issue Dec 12, 2020 · 0 comments · Fixed by #7836
Closed

Doc ability to customize FileInfo colors #7017

SteveL-MSFT opened this issue Dec 12, 2020 · 0 comments · Fixed by #7836
Assignees
Labels
area-experimental Area - experimental feature support
Milestone

Comments

@SteveL-MSFT
Copy link
Contributor

SteveL-MSFT commented Dec 12, 2020

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.

@SteveL-MSFT SteveL-MSFT added the issue-doc-idea Issue - request for new content label Dec 12, 2020
@sdwheeler sdwheeler added hold-for-pr Waiting - for PR merge and removed issue-doc-idea Issue - request for new content labels Dec 14, 2020
@sdwheeler sdwheeler added this to the Future milestone Dec 14, 2020
@sdwheeler sdwheeler added the area-experimental Area - experimental feature support label Dec 14, 2020
@chasewilson chasewilson removed the hold-for-pr Waiting - for PR merge label Jul 21, 2021
@chasewilson chasewilson modified the milestones: Future, 7.2.0 Jul 21, 2021
@chasewilson chasewilson self-assigned this Jul 22, 2021
sdwheeler pushed a commit that referenced this issue Jul 23, 2021
* Updates experimental features and about_Automatic_Variables for `PSStyle.FileInfo`

* Automatically committed changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-experimental Area - experimental feature support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants