Repository navigation
v0.3.0
The pickers can now list in Rex's command palette, in place of fzf in a floating terminal (#5).
Added
- With
picker = "native", the pickers list worktrees and branches in Rex's command palette.picker = "float"stays the default.- Picking an existing worktree switches straight to its session, with no float. This needs no Remote Control.
- Creating a worktree (a new name, a branch without one,
pr:N) and removing one still run in the float, without fzf. That keeps worktrunk's hooks, approval prompts and errors visible. - The fzf float is used when Rex can't show a prompt in the palette, and in sessions on remote hosts.
gitandwtrun through your login shell, so they're found on the samePATHas in your terminals.
worktrunk.sh switch NAME [--base BRANCH] [--slugify]andworktrunk.sh remove NAMEact on a name chosen elsewhere, without fzf.
Changed
- A new demo video in the README.
Requirements
- worktrunk (
wt≥ 0.60) and jq. - fzf, for the float picker.
- For the native picker: a Rex whose server and app can show palette prompts (server API revision 17 or later). With it, fzf is used only when the picker falls back to the float.
Install
git clone --branch v0.3.0 https://github.com/haxybaxy/rex-worktrunk ~/.config/rex/rex-worktrunk