From f224ea0a60936a8e46dab05988dc133f025e6fcc Mon Sep 17 00:00:00 2001 From: Tomasz Kostrzewa Date: Tue, 5 Mar 2024 21:51:55 +0100 Subject: [PATCH] modified: RdzeN-Profile.ps1 --- RdzeN-Profile.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RdzeN-Profile.ps1 b/RdzeN-Profile.ps1 index 527ed22..3c3b3e1 100644 --- a/RdzeN-Profile.ps1 +++ b/RdzeN-Profile.ps1 @@ -44,3 +44,12 @@ if (-not (Get-ChildItem $path_gitea_powershell_profile_functions).count -gt 0) { Get-ChildItem $path_gitea_powershell_profile_functions | ForEach-Object { . $_.FullName } + +# 4. list functions +$functions = Get-ChildItem $path_gitea_powershell_profile_functions | Sort-Object +for ($i = 0; $i -lt $functions.Count; $i++) { + Write-Host "$i)`t$(($functions[$i].Name).Replace('.ps1',''))" +} + +# 99. Prompt profil loaded +New-SimulateTyping "PowerShell User Profile is loaded" \ No newline at end of file