@@ -17,7 +17,7 @@ import { isActivatableEnvironment } from '../common/activation';
1717import { identifyTerminalShell } from '../common/shellDetector' ;
1818import { getPythonApi } from '../pythonApi' ;
1919import {
20- getShellIntegrationEnabledCache ,
20+ getShellIntegrationEnabledSetting ,
2121 isWsl ,
2222 shellIntegrationForActiveTerminal ,
2323 shouldUseProfileActivation ,
@@ -144,7 +144,7 @@ export class TerminalManagerImpl implements TerminalManager {
144144 }
145145 if ( e . affectsConfiguration ( 'terminal.integrated.shellIntegration.enabled' ) ) {
146146 traceInfo ( 'Shell integration setting changed, invalidating cache' ) ;
147- const updatedShellIntegrationSetting = await getShellIntegrationEnabledCache ( ) ;
147+ const updatedShellIntegrationSetting = await getShellIntegrationEnabledSetting ( ) ;
148148 if ( ! updatedShellIntegrationSetting ) {
149149 const shells = new Set (
150150 terminals ( )
@@ -171,7 +171,7 @@ export class TerminalManagerImpl implements TerminalManager {
171171 await Promise . all (
172172 providers . map ( async ( p ) => {
173173 const state = await p . isSetup ( ) ;
174- const shellIntegrationEnabledSetting = await getShellIntegrationEnabledCache ( ) ;
174+ const shellIntegrationEnabledSetting = await getShellIntegrationEnabledSetting ( ) ;
175175 const shellIntegrationActiveTerminal = await shellIntegrationForActiveTerminal ( p . name ) ;
176176 const shellIntegrationLikelyAvailable =
177177 shellIntegrationEnabledSetting || shellIntegrationActiveTerminal ;
0 commit comments