When targeting a branch checked out in a worktree, ez switch prints "Switching" and a path but doesn't actually change the shell's working directory (without shell integration).
Fix:
- Show clear error message when shell wrapper isn't active
- Exit code 5 (usage error) when it can't actually switch
- Add
--no-cd-required flag that exits 0 and prints the path for callers handling cd themselves
Related to #1 (navigation in stack tree).
When targeting a branch checked out in a worktree,
ez switchprints "Switching" and a path but doesn't actually change the shell's working directory (without shell integration).Fix:
--no-cd-requiredflag that exits 0 and prints the path for callers handling cd themselvesRelated to #1 (navigation in stack tree).