Skip to content

Commit f6a5940

Browse files
committed
fix: remove notification after reverting shell startup scripts.
1 parent 5e91c4a commit f6a5940

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/common/localize.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,6 @@ export namespace ShellStartupActivationStrings {
170170
);
171171
export const updatingTheseProfiles = l10n.t('Updating these profiles');
172172
export const updateScript = l10n.t('Update Shell Profile');
173-
export const revertToCommandActivation = l10n.t(
174-
'Auto Shell Activation type set to "command", due to removing shell startup from profile.',
175-
);
176173
export const envCollectionDescription = l10n.t('Environment variables for shell activation');
177174
export const shellStartupScriptEditComplete = l10n.t(
178175
'Shell startup profile updated. See [logs](command:{0})',

src/features/terminal/activateUsingShellStartup.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ export class ShellStartupActivationManagerImpl implements ShellStartupActivation
164164
public async cleanupStartupScripts(): Promise<void> {
165165
await Promise.all(this.shellStartupProviders.map((provider) => provider.teardownScripts()));
166166
setAutoActivationType('command');
167-
showInformationMessage(ShellStartupActivationStrings.revertToCommandActivation);
167+
traceInfo(
168+
'Setting `python-envs.terminal.autoActivationType` to `command`, after removing shell startup scripts.',
169+
);
168170
}
169171

170172
dispose() {

0 commit comments

Comments
 (0)