Davlind / PSColor

Provides simple color highlighting for some PowerShell output
MIT License
174 stars 29 forks source link

Get-ChildItem doesn't print the path while searching recursively #5

Closed nigurr closed 7 years ago

nigurr commented 8 years ago

Default Powershell behaviour:

nigurr@NITING-WRK:E:\VSO\src:21-Jul-16 9:19:54 AM: [master]> Get-ChildItem -Recurse -Include PublishCmdlet.cs -Path E:\src\

    Directory: E:\src\old\Task.TestResults

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        20-Jul-16   2:59 PM          17916 PublishCmdlet.cs

    Directory: E:\src\new\Task.TestResults

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        20-Jul-16   2:59 PM          17990 PublishCmdlet.cs

With PSColor imported into $Profile

nigurr@NITING-WRK:E:\VSO\src:21-Jul-16 9:25:45 AM: [master]> Get-ChildItem -Recurse -Include PublishCmdlet.cs -Path E:\src\

    Directory:  E:\src

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a----        20-Jul-16   2:59 PM    17.50KB PublishCmdlet.cs
-a----        20-Jul-16   2:59 PM    17.57KB PublishCmdlet.cs

The paths are missing from the output. Can you please look into this?