Skip to content

Instantly share code, notes, and snippets.

@mdgrs-mei
mdgrs-mei / TerminalCats.ps1
Last active April 22, 2024 11:12
Cats on the terminal titles
#Requires -Modules DynamicTitle
$promptJob = Start-DTJobPromptCallback {
if ($null -eq $script:terminalCatPromptFrame) {
$script:terminalCatPromptFrame = 0
}
$script:terminalCatPromptFrame++
$isInError = $false
if ($Error[0]) {