diff --git a/src/PowerShellEditorServices/Session/PowerShellContext.cs b/src/PowerShellEditorServices/Session/PowerShellContext.cs index 02ac3cd3a..f06919726 100644 --- a/src/PowerShellEditorServices/Session/PowerShellContext.cs +++ b/src/PowerShellEditorServices/Session/PowerShellContext.cs @@ -838,7 +838,7 @@ public async Task LoadHostProfiles() { command = new PSCommand(); command.AddCommand(profilePath, false); - await this.ExecuteCommand(command); + await this.ExecuteCommand(command, true, true); } // Gather the session details (particularly the prompt) after