diff --git a/scripts/Common/Config/Oh My Posh/install.ps1 b/scripts/Common/Config/Oh My Posh/install.ps1 index 9a35aeda..3e9bb808 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/../powershell/lib.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 19ef1ae6..329d48b6 100644 --- a/scripts/Common/Config/aliae/install.ps1 +++ b/scripts/Common/Config/aliae/install.ps1 @@ -1,5 +1,5 @@ #!/bin/pwsh -. "$PSScriptRoot/../powershell/lib.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 baec169b..0f78e877 100644 --- a/scripts/Common/Config/zoxide/install.ps1 +++ b/scripts/Common/Config/zoxide/install.ps1 @@ -1,5 +1,5 @@ #!/bin/pwsh -. "$PSScriptRoot/../powershell/lib.ps1"; +. "$PSScriptRoot/../../Software/powershell/profile.ps1"; Add-PowerShellProfileStatement ` -System ` diff --git a/scripts/Common/Config/powershell/lib.ps1 b/scripts/Common/Software/powershell/profile.ps1 similarity index 100% rename from scripts/Common/Config/powershell/lib.ps1 rename to scripts/Common/Software/powershell/profile.ps1 diff --git a/scripts/Windows/Config/Terminal-Icons/Install.ps1 b/scripts/Windows/Config/Terminal-Icons/Install.ps1 index 5834a923..e996f5f2 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/Config/powershell/lib.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 f67b93de..67f36639 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/Config/powershell/lib.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 83581d13..8dd110f4 100644 --- a/scripts/Windows/Scripts/Context.ps1 +++ b/scripts/Windows/Scripts/Context.ps1 @@ -1,6 +1,6 @@ #!/bin/pwsh . "$PSScriptRoot/Entrypoints.ps1"; -. "$PSScriptRoot/../../Common/Config/powershell/lib.ps1"; +. "$PSScriptRoot/../../Common/Software/powershell/profile.ps1"; class Context { [string]$EntryPoint;