Relocate powershell profile script

This commit is contained in:
Manuel Thalmann 2024-07-16 14:06:19 +02:00
parent 005c575320
commit 150775e068
7 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
#!/bin/pwsh
. "$PSScriptRoot/../powershell/lib.ps1";
. "$PSScriptRoot/../../Software/powershell/profile.ps1";
Add-PowerShellProfileStatement `
-System `

View file

@ -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";

View file

@ -1,5 +1,5 @@
#!/bin/pwsh
. "$PSScriptRoot/../powershell/lib.ps1";
. "$PSScriptRoot/../../Software/powershell/profile.ps1";
Add-PowerShellProfileStatement `
-System `

View file

@ -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";';

View file

@ -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";'

View file

@ -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;