Worktree
Shell Integration
Generate shell integration for worktree switching.
gmc wt init prints shell integration code.
Usage
gmc wt init bash
gmc wt init zsh
gmc wt init fishLoad it
eval "$(gmc wt init zsh)"For fish:
gmc wt init fish | sourceNotes
This is different from gmc completion. Completion completes commands; worktree shell integration lets gmc wt switch change directories.