Rename PowerShell script directory

This commit is contained in:
Manuel Thalmann 2024-08-07 19:08:13 +02:00
parent fbf3c049b1
commit 77afa05acd
8 changed files with 7 additions and 7 deletions

View file

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

View file

@ -1,5 +1,5 @@
#!/bin/pwsh #!/bin/pwsh
. "$PSScriptRoot/../../Software/powershell/profile.ps1"; . "$PSScriptRoot/../../Software/PowerShell/profile.ps1";
foreach ($defaultUser in @($true, $false)) { foreach ($defaultUser in @($true, $false)) {
Add-PowerShellProfileStatement -DefaultUser:$defaultUser -Statement "# aliae`naliae init pwsh | Invoke-Expression"; Add-PowerShellProfileStatement -DefaultUser:$defaultUser -Statement "# aliae`naliae init pwsh | Invoke-Expression";

View file

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

View file

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

View file

@ -1,3 +1,3 @@
#!/bin/pwsh #!/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";'; Add-PowerShellProfileStatement -System -Category "Terminal-Icons" -Statement 'Import-Module "Terminal-Icons";';

View file

@ -1,4 +1,4 @@
#!/bin/pwsh #!/bin/pwsh
. "$PSScriptRoot/../../../Common/Software/powershell/profile.ps1"; . "$PSScriptRoot/../../../Common/Software/PowerShell/profile.ps1";
Write-Host "Configuring posh-git"; Write-Host "Configuring posh-git";
Add-PowerShellProfileStatement -System -Category "posh-git" -Statement 'Import-Module "posh-git";' Add-PowerShellProfileStatement -System -Category "posh-git" -Statement 'Import-Module "posh-git";'

View file

@ -1,6 +1,6 @@
#!/bin/pwsh #!/bin/pwsh
. "$PSScriptRoot/Entrypoints.ps1"; . "$PSScriptRoot/Entrypoints.ps1";
. "$PSScriptRoot/../../Common/Software/powershell/profile.ps1"; . "$PSScriptRoot/../../Common/Software/PowerShell/profile.ps1";
class Context { class Context {
[string]$EntryPoint; [string]$EntryPoint;