Terminal-Icons icon indicating copy to clipboard operation
Terminal-Icons copied to clipboard

Cohabit with PoshColor

Open belotn opened this issue 4 years ago • 1 comments

Hello,

PoshColor seems to overwrite the output of Terminal-Icons, so filetype glyph did not appear. Is there a way to make the two modules cohabit ? I switch from one module to another whenever i have to do a Get-Service or a Get-ChildItem.

I hava also open an issue on the other mods : https://github.com/JustABearOz/PoshColor/issues/6

Regards, Nicolas

belotn avatar Aug 19 '21 10:08 belotn

@belotn I don't think there is anything I can do in Terminal-Icons to make them play together. Terminal-Icons uses a formatting file to change how IO.FileSystemInfo objects are displayed, and PoshColor wraps Out-Default (which I'm guessing is ran after the formatter and is the reason it overwrites the output. These are different methods but achieve the same result and the last one processed wins.

devblackops avatar Sep 09 '21 06:09 devblackops