Get-ChildItemColor icon indicating copy to clipboard operation
Get-ChildItemColor copied to clipboard

actual PowerShell have alredy coloring itself

Open theuserbl opened this issue 3 years ago • 1 comments

I have had used PowerShell 7.1.4 before. And that have no coloring of Get-ChildItem.

But now I have tried out the actual PowerShell 7.3.0-preview.5. And that have a coloring for the exe-files, the directories, *.zip files, ps1 files, psm1 files, psd1 files and possible other.

dll files, txt files, etc. are there non colored. Who that wants needing possibly still Get-ChildItemColor. But for all other is coloring in the original Get-ChildItem already included.

theuserbl avatar Jul 06 '22 09:07 theuserbl

I currently see, that the coloring of Get-ChildItem is much bader then that of Get-ChildItemColor. Get-ChildItem uses now the ANSI escape code. That ends up, that a dir | ogv have the directory "Downloads" listed as "[44;1mDownloads[0m". Similar with all colored files.

theuserbl avatar Jul 06 '22 09:07 theuserbl