Skip to content

Commit

Permalink
Update table example for windows/linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 15, 2024
1 parent 76d602c commit 4f74c7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function Format-SpectreTable {
# foreground
@{'Name'='Last Updated'; Expression={ "[DeepSkyBlue3_1]" + $_.LastWriteTime.ToString() + "[/]" }},
# background
@{'Name'='Drive'; Expression={ "[black on LightGreen_1]" + (Split-Path $_.Fullname -Qualifier) + "[/]" }}
@{'Name'='Drive'; Expression={ "[black on LightGreen_1]" + $_.PSDrive.Root + "[/]" }}
)
Get-ChildItem | Format-SpectreTable -Property $Properties -AllowMarkup
Expand Down

0 comments on commit 4f74c7a

Please sign in to comment.