Release Notes
Improved
-
Interactive picker runs hooks:
wt switchwithout arguments (the interactive picker) now runs post-switch, post-start, and post-create hooks, matching the non-interactive path. (#942) -
Combined hook output during removal: Post-remove and post-switch hooks during worktree removal are now shown on a single output line instead of two separate lines. (#943)
Fixed
-
Shell escape corruption with template filters: Shell escaping was applied before template rendering, so filters like
sanitizeoperated on already-escaped strings, corrupting values with special characters (e.g., apostrophes in branch names). (#944) -
wt switch -history corruption:wt switch foowhile already infoowould incorrectly recordfooas the previous branch, breakingwt switch -ping-pong. (#944) -
--basewithout--createshowed wrong error: Using--basewithout--createcould produce misleading errors (e.g., "No previous branch") instead of the expected warning that--baserequires--create. (#944)
Install worktrunk 0.23.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/max-sixty/worktrunk/releases/download/v0.23.1/worktrunk-installer.sh | sh && wt config shell installInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/max-sixty/worktrunk/releases/download/v0.23.1/worktrunk-installer.ps1 | iex"; git-wt config shell installInstall prebuilt binaries via Homebrew
brew install worktrunk && wt config shell installDownload worktrunk 0.23.1
| File | Platform | Checksum |
|---|---|---|
| worktrunk-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| worktrunk-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| worktrunk-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| worktrunk-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| worktrunk-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Install via Cargo
cargo install worktrunk && wt config shell installInstall via Winget (Windows)
winget install max-sixty.worktrunk && git-wt config shell installInstall via AUR (Arch Linux)
paru worktrunk-bin && wt config shell install