modified: RdzeN-Profile.ps1

This commit is contained in:
Tomasz Kostrzewa 2024-03-06 00:03:11 +01:00
parent 5168e7ce1a
commit 5445b37d4e

View File

@ -104,7 +104,7 @@ if ($functions_to_pull.Count -gt 0) {
# 4. List functions # 4. List functions
$functions = Get-ChildItem $path_gitea_powershell_profile_functions | Sort-Object $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 "$i" -NoNewline -ForegroundColor Cyan
Write-Host ")`t" -NoNewline -ForegroundColor Blue Write-Host ")`t" -NoNewline -ForegroundColor Blue
Write-Host "$(($functions[$i].Name).Replace('.ps1',''))" -ForegroundColor Cyan Write-Host "$(($functions[$i].Name).Replace('.ps1',''))" -ForegroundColor Cyan