Powershell: Properly coloring Get-Childitem output once and for all

后端 未结 6 442
醉梦人生
醉梦人生 2020-12-04 13:14

Edit: Original solution at the bottom of this post. For a more up-to-date solution, see the accepted answer, posted by Thraka.

Colorizing Get-Childit

6条回答
  •  Happy的楠姐
    2020-12-04 14:00

    I have another script which takes care of Format-Wide (ls) case and also has better performance by using dictionaries instead of regex: https://github.com/joonro/Get-ChildItem-Color.

提交回复
热议问题