onDidEndTerminalShellExecution

This will be fired when a terminal command is ended. This event will fire only when shell integration is activated for the terminal.

Online Documentation