Skip to content

Commit ea4b925

Browse files
committed
add missing PSScriptTools
1 parent 802650b commit ea4b925

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/powershell-extended/dotfiles/.config/powershell/Microsoft.PowerShell_profile.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ try {
3434
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_TERMINAL_COMPLETION_PREDICTOR') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name CompletionPredictor }
3535
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_TERMINAL_COMPLETION_PREDICTOR_AZ') -eq $true) { if (Get-Module -Name Az.Accounts -ListAvailable) { __PSProfile-Import-ModuleAndInstallIfMissing -Name Az.Tools.Predictor } }
3636
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_TERMINAL_Z') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name z }
37+
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_TERMINAL_PSSCRIPTTOOLS') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name PSScriptTools }
3738
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_TERMINAL_ICONS') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name Terminal-Icons }
3839
#endregion Import Modules --------------------------------------------------
3940

src/powershell-extended/dotfiles/.config/powershell/Microsoft.VSCode_profile.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ try {
4545
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_VSCODE_TERMINAL_COMPLETION_PREDICTOR') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name CompletionPredictor }
4646
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_VSCODE_TERMINAL_COMPLETION_PREDICTOR_AZ') -eq $true) { if (Get-Module -Name Az.Accounts -ListAvailable) { __PSProfile-Import-ModuleAndInstallIfMissing -Name Az.Tools.Predictor } }
4747
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_VSCODE_TERMINAL_Z') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name z }
48+
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_VSCODE_TERMINAL_PSSCRIPTTOOLS') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name PSScriptTools }
4849
if ([System.Environment]::GetEnvironmentVariable('PSPROFILE_VSCODE_TERMINAL_ICONS') -eq $true) { __PSProfile-Import-ModuleAndInstallIfMissing -Name Terminal-Icons }
4950
#endregion Import Modules --------------------------------------------------
5051

0 commit comments

Comments
 (0)