Re:Libghostty 1.0
by cellu on Saturday November 07, 2026 @12:33PM
(#50406345)
how have you replaced herdr's worktree management with rex?
[ Parent
| on HN ]
Re:Libghostty 1.0
by bullfightonmars on Saturday November 07, 2026 @01:03PM
(#50406576)
Rex has "sessions" which are like groups of tabs and it is scriptable, I made a little plugin that when invoked pops open a floating terminal asks for a worktree name and sets up a new worktree.
i'm not sure what you're referring to - if herdr had worktree management features, I never used them. that's not something i'd want my terminal multiplexer to do anyway, our worktree automation is part of the repo.
Herdr made it quite nice and easy to have different worktrees/spaces. Eg. I wrote a simple plugin that rsyncs the dev repo (including uncommitted, untracked and gitignored files like `.env` and generated code, so it's ready to use right away) and create a git worktree and open it as its own workspace in the sidebar.
I see Rex has the concept of sessions and tabs within it, so am wondering how are people working and switching worktrees within it, automating flows etc?