Change:
Testing It turns out "Run Recent Command" works both with shell integration disabled and enabled, but I wasn't seeing the shell integration prompt on Windows. I'm using pwsh 7. When I disable shell integration, I see the header that tells me I'm using version 7. When I enable shell integration, I see just the prompt. My profile references the following script:
what do you mean that your profile references that script? could you provide the profile you're using?
also what's the value of your ?
PS1: Init script: Screenshot: ! Edit: I just realized the word prompt isn't what I meant. Changed the issue title.
oh you should see it only on hover of the icon in the tab list.
we changed this so no longer show in the buffer
It doesn't seem to be in the tab list icon hover: !
I think this is working as designed since we hid the message? This is also by design, it's just populating that list that only happens when shell integration is enabled.
Oh it should be on the tab hover though.
not seeing it on mac either
This issue has been closed automatically because it needs more information and has not had recent activity. See also our guidelines. Happy Coding!

Discussion:
} } <del> const shellIntegrationString = getShellIntegrationTooltip(instance, true, this._configurationService); </del> <ins> const shellIntegrationString = getShellIntegrationTooltip(instance, true); </ins> const iconId = this._instantiationService.invokeFunction(getIconId, instance); const hasActionbar = !this.shouldHideActionBar(); let label: string = '';

import { localize } from 'vs/nls'; import { ITerminalInstance } from 'vs/workbench/contrib/terminal/browser/terminal'; import { TerminalCapability } from 'vs/platform/terminal/common/capabilities/capabilities'; <del> import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { TerminalSettingId } from 'vs/platform/terminal/common/terminal'; export function getShellIntegrationTooltip(instance: ITerminalInstance, markdown: boolean, configurationService: IConfigurationService): string { if (!configurationService.getValue(TerminalSettingId.ShellIntegrationEnabled) || instance.disableShellIntegrationReporting) { return ''; } </del> <ins> export function getShellIntegrationTooltip(instance: ITerminalInstance, markdown: boolean): string { </ins> const shellIntegrationCapabilities: TerminalCapability[] = []; if (instance.capabilities.has(TerminalCapability.CommandDetection)) { shellIntegrationCapabilities.push(TerminalCapability.CommandDetection);

{ id: action.id, title: _instantiationService.invokeFunction(getSingleTabLabel, _terminalGroupService.activeInstance, _terminalService.configHelper.config.tabs.separator), <del> tooltip: getSingleTabTooltip(_terminalGroupService.activeInstance, _terminalService.configHelper.config.tabs.separator, configurationService) </del> <ins> tooltip: getSingleTabTooltip(_terminalGroupService.activeInstance, _terminalService.configHelper.config.tabs.separator) </ins> }, { id: TerminalCommandId.Split,

this._register(this._terminalService.onDidChangeInstanceColor(e => this.updateLabel(e))); this._register(this._terminalService.onDidChangeInstanceTitle(e => { if (e === this._terminalGroupService.activeInstance) { <del> this._action.tooltip = getSingleTabTooltip(e, this._terminalService.configHelper.config.tabs.separator, configurationService); </del> <ins> this._action.tooltip = getSingleTabTooltip(e, this._terminalService.configHelper.config.tabs.separator); </ins> this.updateLabel(); } })); this._register(this._terminalService.onDidChangeInstanceCapability(e => { <del> this._action.tooltip = getSingleTabTooltip(e, this._terminalService.configHelper.config.tabs.separator, configurationService); </del> <ins> this._action.tooltip = getSingleTabTooltip(e, this._terminalService.configHelper.config.tabs.separator); </ins> this.updateLabel(e); }));

return `${label} $(${primaryStatus.icon.id})`; } <del> function getSingleTabTooltip(instance: ITerminalInstance | undefined, separator: string, configurationService: IConfigurationService): string { </del> <ins> function getSingleTabTooltip(instance: ITerminalInstance | undefined, separator: string): string { </ins> if (!instance) { return ''; } <del> const shellIntegrationString = getShellIntegrationTooltip(instance, false, configurationService); </del> <ins> const shellIntegrationString = getShellIntegrationTooltip(instance, false); </ins> const title = getSingleTabTitle(instance, separator); return shellIntegrationString ? title + shellIntegrationString : title; }