Skip to content

Commit 618d1a7

Browse files
authored
Minor update to the FileInfo table formatting on Unix to make it more concise (PowerShell#18183)
1 parent 8973b0c commit 618d1a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/System.Management.Automation/FormatAndOutput/DefaultFormatters/FileSystem_format_ps1xml.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ private static IEnumerable<FormatViewDefinition> ViewsOf_FileSystemTypes(CustomC
4646
TableControl.Create()
4747
.GroupByProperty("PSParentPath", customControl: sharedControls[0])
4848
.AddHeader(Alignment.Left, label: "UnixMode", width: 10)
49-
.AddHeader(Alignment.Left, label: "User", width: 16)
50-
.AddHeader(Alignment.Left, label: "Group", width: 16)
51-
.AddHeader(Alignment.Right, label: "LastWriteTime", width: 18)
52-
.AddHeader(Alignment.Right, label: "Size", width: 14)
49+
.AddHeader(Alignment.Right, label: "User", width: 10)
50+
.AddHeader(Alignment.Left, label: "Group", width: 10)
51+
.AddHeader(Alignment.Right, label: "LastWriteTime", width: 16)
52+
.AddHeader(Alignment.Right, label: "Size", width: 12)
5353
.AddHeader(Alignment.Left, label: "Name")
5454
.StartRowDefinition(wrap: true)
5555
.AddPropertyColumn("UnixMode")

0 commit comments

Comments
 (0)