From b587316c2101b4b91d1e0b1e51fb776ed2388e2b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 17 Jul 2025 14:59:43 +0200 Subject: [PATCH] Added icon for .ps1 files --- scripts/list-folder.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/list-folder.ps1 b/scripts/list-folder.ps1 index d14d939e..1368e944 100755 --- a/scripts/list-folder.ps1 +++ b/scripts/list-folder.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION This PowerShell script lists the content of a directory (alphabetically formatted in columns). .PARAMETER SearchPattern - Specifies the search pattern ("*" by default which means anything) + Specifies the search pattern (default is "*" which means anything) .EXAMPLE PS> ./list-folder.ps1 C:\* .LINK @@ -25,6 +25,7 @@ function GetFileIcon([string]$suffix) { ".jpg" {return "📸"} ".mp3" {return "🎵"} ".mkv" {return "🎬"} + ".ps1" {return "⚙️"} ".zip" {return "🎁"} default {return "📄"} }