Tags: timvw/wt
Tags
fix: handle spaces in home directory paths on Windows (#94) * fix: handle spaces in home directory paths on Windows - expandHome: support ~\ (backslash) prefix and expand $HOME/${HOME}/%USERPROFILE% via os.ExpandEnv - remove: use porcelain worktree list to avoid strings.Fields splitting paths with spaces - shellenv: shell-quote arguments in Linux script(1) invocation to preserve spaces - config template: quote $WT_PATH/$WT_MAIN in hook examples Closes #93 * fix: expand Windows %VAR% style environment variables in config paths os.ExpandEnv only handles $VAR and ${VAR}. Add expandWindowsEnv for %USERPROFILE% and similar Windows-style variables, called on Windows only. Follow-up from Codex review of #94. * fix: expand env vars in tilde paths like ~/$TEAM/worktrees The tilde branch returned early, skipping os.ExpandEnv. Now env expansion runs on all paths including those starting with ~. Follow-up from Codex review round 2. * fix: check return value of os.Stdout.WriteString (errcheck)
feat: add fuzzy matching for interactive branch selection (#81) * feat: add fuzzy matching for interactive branch selection Replace exact-substring search with fuzzy matching in all interactive selection prompts (checkout, remove, pr, mr). Uses sahilm/fuzzy library. Prompts now start in search mode for immediate typing. * docs: update examples and README for fuzzy matching * fix: add TextExample to interactive examples and fix test index The TestAllExamplesHaveConcreteSamples test requires all non-JSON examples to have a TextExample. Also fix TestRemoveJSONExampleIndex which hardcoded index [1] but the interactive example shifted it to [2].
fix: resolve branch names case-insensitively against remote refs (#70) When creating or checking out a branch, wt now queries `git ls-remote --heads origin` and matches the user-provided branch name case-insensitively. If the remote has a differently-cased branch (e.g. `Feature/add-logging` vs `feature/add-logging`), wt uses the remote's casing and prints a note to stderr. Fixes #69
docs: re-record GIFs with vhs, add shell integration to demo - Switch from shellwright to vhs for GIF recording (proper timing) - Add vhs tape files for all 5 demos (quickstart, create, hooks, multi-repo, info) - Enable shell integration in Docker image so prompt updates after wt co - Clean up README: remove duplications, better structure
PreviousNext