Add posh-git
to Windows installations
This commit is contained in:
parent
2a7e0b643e
commit
c851336400
4 changed files with 19 additions and 2 deletions
scripts/Windows/Config/PowerShell
|
@ -8,6 +8,7 @@ Write-Information "Allow addition of any number of profile files";
|
|||
|
||||
$context.AddPowerShellProfileStatement(
|
||||
@(
|
||||
'# Profile Files',
|
||||
'$profilePath = "$PSScriptRoot/profile.d/*.ps1";',
|
||||
'if (Test-Path $profilePath) {',
|
||||
' . $profilePath;',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue