Skip to content

Commit a4e80b7

Browse files
committed
Remove listener for shell integration setting change
1 parent 8a0dede commit a4e80b7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/features/terminal/terminalManager.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,6 @@ export class TerminalManagerImpl implements TerminalManager {
142142
this.shellSetup.clear();
143143
}
144144
}
145-
if (e.affectsConfiguration('terminal.integrated.shellIntegration.enabled')) {
146-
traceInfo('Shell integration setting changed, invalidating cache');
147-
const updatedShellIntegrationSetting = await getShellIntegrationEnabledCache();
148-
if (!updatedShellIntegrationSetting) {
149-
const shells = new Set(
150-
terminals()
151-
.map((t) => identifyTerminalShell(t))
152-
.filter((t) => t !== 'unknown'),
153-
);
154-
if (shells.size > 0) {
155-
await this.handleSetupCheck(shells);
156-
}
157-
}
158-
}
159145
}),
160146
onDidChangeWindowState((e) => {
161147
this.hasFocus = e.focused;

0 commit comments

Comments
 (0)