Custom Kitty Tab Titles

I changed my Kitty tab bar to show a better context: owner/repo:branch process for git repos; ~/d/n/dirname process (shortened path) otherwise. For simplicity, it updates only when something changes (cd, command start, prompt). OSC Escape Sequences ANSI escape sequences are sequences starting with ESC ( \e ), ending with BEL ( \a ) that control terminal behavior. They include: CSI (Control…