wtm shell-init
This content is for v0.28. Switch to the latest version for up-to-date documentation.
Generate shell integration function
Synopsis
Section titled “Synopsis”Output a shell function to eval in your rc file. Usage: eval "$(wtm shell-init)"
wtm shell-init [flags]Examples
Section titled “Examples” # zsh or bash: add this line to ~/.zshrc or ~/.bashrc eval "$(wtm shell-init)"
# fish: add this line to config.fish wtm shell-init | sourceOptions
Section titled “Options” -h, --help help for shell-initOptions inherited from parent commands
Section titled “Options inherited from parent commands” -q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its documentSEE ALSO
Section titled “SEE ALSO”- wtm - Orchestrate git worktrees and team dev workflows from the terminal