Install Powershell profile statements globally
This commit is contained in:
parent
c3ce9c0ba9
commit
a0e9c03525
3 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
. "$PSScriptRoot/../powershell/lib.ps1";
|
||||
|
||||
Add-PowerShellProfileStatement `
|
||||
-System `
|
||||
-Category "oh-my-posh" `
|
||||
-Statement $(
|
||||
@(
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../../Common/Config/powershell/lib.ps1";
|
||||
Add-PowerShellProfileStatement -Category "Terminal-Icons" -Statement 'Import-Module "Terminal-Icons";';
|
||||
Add-PowerShellProfileStatement -System -Category "Terminal-Icons" -Statement 'Import-Module "Terminal-Icons";';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../../Common/Config/powershell/lib.ps1";
|
||||
Write-Host "Configuring posh-git";
|
||||
Add-PowerShellProfileStatement -Category "posh-git" -Statement 'Import-Module "posh-git";'
|
||||
Add-PowerShellProfileStatement -System -Category "posh-git" -Statement 'Import-Module "posh-git";'
|
||||
|
|
Loading…
Reference in a new issue