From d28a152eb26d67024f956e5eb295ec01b7039ee4 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 7 Aug 2024 19:08:13 +0200 Subject: [PATCH] Rename PowerShell script directory --- scripts/Common/Config/Oh My Posh/install.ps1 | 2 +- scripts/Common/Config/aliae/install.ps1 | 2 +- scripts/Common/Config/zoxide/install.ps1 | 2 +- scripts/Common/Software/{powershell => PowerShell}/profile.ps1 | 0 scripts/Common/Software/zoxide/install.ps1 | 2 +- scripts/Windows/Config/Terminal-Icons/Install.ps1 | 2 +- scripts/Windows/Config/posh-git/Install.ps1 | 2 +- scripts/Windows/Scripts/Context.ps1 | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename scripts/Common/Software/{powershell => PowerShell}/profile.ps1 (100%) diff --git a/scripts/Common/Config/Oh My Posh/install.ps1 b/scripts/Common/Config/Oh My Posh/install.ps1 index 3e9bb808..cc24d77f 100644 --- a/scripts/Common/Config/Oh My Posh/install.ps1 +++ b/scripts/Common/Config/Oh My Posh/install.ps1 @@ -1,5 +1,5 @@ #!/bin/pwsh -. "$PSScriptRoot/../../Software/powershell/profile.ps1"; +. "$PSScriptRoot/../../Software/PowerShell/profile.ps1"; Add-PowerShellProfileStatement ` -System ` diff --git a/scripts/Common/Config/aliae/install.ps1 b/scripts/Common/Config/aliae/install.ps1 index 329d48b6..d4de4848 100644 --- a/scripts/Common/Config/aliae/install.ps1 +++ b/scripts/Common/Config/aliae/install.ps1 @@ -1,5 +1,5 @@ #!/bin/pwsh -. "$PSScriptRoot/../../Software/powershell/profile.ps1"; +. "$PSScriptRoot/../../Software/PowerShell/profile.ps1"; foreach ($defaultUser in @($true, $false)) { Add-PowerShellProfileStatement -DefaultUser:$defaultUser -Statement "# aliae`naliae init pwsh | Invoke-Expression"; diff --git a/scripts/Common/Config/zoxide/install.ps1 b/scripts/Common/Config/zoxide/install.ps1 index 0f78e877..0932a91e 100644 --- a/scripts/Common/Config/zoxide/install.ps1 +++ b/scripts/Common/Config/zoxide/install.ps1 @@ -1,5 +1,5 @@ #!/bin/pwsh -. "$PSScriptRoot/../../Software/powershell/profile.ps1"; +. "$PSScriptRoot/../../Software/PowerShell/profile.ps1"; Add-PowerShellProfileStatement ` -System ` diff --git a/scripts/Common/Software/powershell/profile.ps1 b/scripts/Common/Software/PowerShell/profile.ps1 similarity index 100% rename from scripts/Common/Software/powershell/profile.ps1 rename to scripts/Common/Software/PowerShell/profile.ps1 diff --git a/scripts/Common/Software/zoxide/install.ps1 b/scripts/Common/Software/zoxide/install.ps1 index 34001879..5d745a83 100644 --- a/scripts/Common/Software/zoxide/install.ps1 +++ b/scripts/Common/Software/zoxide/install.ps1 @@ -1,5 +1,5 @@ #!/bin/pwsh -. "$PSScriptRoot/../powershell/profile.ps1"; +. "$PSScriptRoot/../PowerShell/profile.ps1"; Add-PowerShellProfileStatement ` -System ` diff --git a/scripts/Windows/Config/Terminal-Icons/Install.ps1 b/scripts/Windows/Config/Terminal-Icons/Install.ps1 index e996f5f2..8676ef08 100644 --- a/scripts/Windows/Config/Terminal-Icons/Install.ps1 +++ b/scripts/Windows/Config/Terminal-Icons/Install.ps1 @@ -1,3 +1,3 @@ #!/bin/pwsh -. "$PSScriptRoot/../../../Common/Software/powershell/profile.ps1"; +. "$PSScriptRoot/../../../Common/Software/PowerShell/profile.ps1"; Add-PowerShellProfileStatement -System -Category "Terminal-Icons" -Statement 'Import-Module "Terminal-Icons";'; diff --git a/scripts/Windows/Config/posh-git/Install.ps1 b/scripts/Windows/Config/posh-git/Install.ps1 index 67f36639..35a26480 100644 --- a/scripts/Windows/Config/posh-git/Install.ps1 +++ b/scripts/Windows/Config/posh-git/Install.ps1 @@ -1,4 +1,4 @@ #!/bin/pwsh -. "$PSScriptRoot/../../../Common/Software/powershell/profile.ps1"; +. "$PSScriptRoot/../../../Common/Software/PowerShell/profile.ps1"; Write-Host "Configuring posh-git"; Add-PowerShellProfileStatement -System -Category "posh-git" -Statement 'Import-Module "posh-git";' diff --git a/scripts/Windows/Scripts/Context.ps1 b/scripts/Windows/Scripts/Context.ps1 index 8dd110f4..2f91358f 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -1,6 +1,6 @@ #!/bin/pwsh . "$PSScriptRoot/Entrypoints.ps1"; -. "$PSScriptRoot/../../Common/Software/powershell/profile.ps1"; +. "$PSScriptRoot/../../Common/Software/PowerShell/profile.ps1"; class Context { [string]$EntryPoint;