From af1e080bc4466ea1a11f71a53c82782689c87241 Mon Sep 17 00:00:00 2001 From: Tomasz Kostrzewa Date: Tue, 5 Mar 2024 18:59:09 +0100 Subject: [PATCH] new file: functions/Test-Profile.ps1 deleted: functions/Test-Profile --- functions/Test-Profile.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 functions/Test-Profile.ps1 diff --git a/functions/Test-Profile.ps1 b/functions/Test-Profile.ps1 new file mode 100644 index 0000000..6114e97 --- /dev/null +++ b/functions/Test-Profile.ps1 @@ -0,0 +1,8 @@ +# gitea.RdzeN.net +# Reload $profile +function Test-Profile { + if (-not (Test-Path $PROFILE)) { + Copy-Item -Path $path_gitea_powershell_profile -Destination $PROFILE + New-SimulateTyping "Your PowerShell profile was created!" + } +} \ No newline at end of file