r/zsh • u/azhuchkov • 11h ago
Live Git updates in a Zsh prompt
Enable HLS to view with audio, or disable this notification
41
Upvotes
I’ve been experimenting with live Git updates in the shell prompt.
The idea is simple: if an IDE, coding agent, or another shell changes the repository, every open shell session updates its Git state automatically — even while the prompt is idle.
This is especially useful when several tools are working with the same repository at the same time.
I implemented it in Cobalt Spark, my compact Zsh theme. The new release is mostly focused on Git improvements: Live Git updates, richer status, prefetch indication, and smart branch shortening. It also adds official support for popular Zsh plugin managers.
More details are in the README.