From 5445b37d4e0ef81b8eb8107a0b5879dcc2c4504e Mon Sep 17 00:00:00 2001 From: Tomasz Kostrzewa Date: Wed, 6 Mar 2024 00:03:11 +0100 Subject: [PATCH] modified: RdzeN-Profile.ps1 --- RdzeN-Profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RdzeN-Profile.ps1 b/RdzeN-Profile.ps1 index af86673..f0e45da 100644 --- a/RdzeN-Profile.ps1 +++ b/RdzeN-Profile.ps1 @@ -104,7 +104,7 @@ if ($functions_to_pull.Count -gt 0) { # 4. List functions $functions = Get-ChildItem $path_gitea_powershell_profile_functions | Sort-Object -for ($i = 0; $i -lt $functions.Count; $i++) { +for ($i = 1; $i -eq $functions.Count; $i++) { Write-Host "$i" -NoNewline -ForegroundColor Cyan Write-Host ")`t" -NoNewline -ForegroundColor Blue Write-Host "$(($functions[$i].Name).Replace('.ps1',''))" -ForegroundColor Cyan