gabriel / muse public
fix zsh-plugin main #74 / 100

fix(zsh-plugin): refresh dirty state on every prompt, not just after muse commands

Previously the dirty check only ran when _MUSE_CMD_RAN=1 (i.e. after a muse command). This meant touch, vim, cp etc. never updated the branch colour. Now precmd always calls _muse_check_dirty when inside a repo, and does a full refresh (head + domain + dirty) after a muse command. Same model as the git plugin.

G Gabriel Cardona <gabriel@tellurstori.com> · 3d ago Mar 21, 2026 · 9290bfc7 · parent d4014b3e
1
file changed
343
files in snapshot
Files Changed 343 in snapshot
~1

0 comments

No comments yet. Be the first to start the discussion.