mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-19 14:49:48 +01:00
Check FullLanguage only
This commit is contained in:
@@ -9,7 +9,7 @@ if (Test-Path variable:global:__VSCodeOriginalPrompt) {
|
||||
}
|
||||
|
||||
# Disable shell integration when the language mode is restricted
|
||||
if (("RestrictedLanguage", "NoLanguage") -Contains $ExecutionContext.SessionState.LanguageMode) {
|
||||
if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user