modified: RdzeN-Profile.ps1
This commit is contained in:
parent
624ec6f08c
commit
f224ea0a60
@ -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"
|
Loading…
x
Reference in New Issue
Block a user