Skip to content

v0.3.0

Choose a tag to compare

@haxybaxy haxybaxy released this 20 Nov 18:50
f6bf4ba

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.
    • git and wt run through your login shell, so they're found on the same PATH as in your terminals.
  • worktrunk.sh switch NAME [--base BRANCH] [--slugify] and worktrunk.sh remove NAME act 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