modified: RdzeN-Profile.ps1
This commit is contained in:
parent
5445b37d4e
commit
9421820a7b
@ -104,8 +104,8 @@ if ($functions_to_pull.Count -gt 0) {
|
||||
|
||||
# 4. List functions
|
||||
$functions = Get-ChildItem $path_gitea_powershell_profile_functions | Sort-Object
|
||||
for ($i = 1; $i -eq $functions.Count; $i++) {
|
||||
Write-Host "$i" -NoNewline -ForegroundColor Cyan
|
||||
for ($i = 0; $i -lt $functions.Count; $i++) {
|
||||
Write-Host "$($i+1)" -NoNewline -ForegroundColor Cyan
|
||||
Write-Host ")`t" -NoNewline -ForegroundColor Blue
|
||||
Write-Host "$(($functions[$i].Name).Replace('.ps1',''))" -ForegroundColor Cyan
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user