Skip to content

wtm shell-init

This content is for v0.28. Switch to the latest version for up-to-date documentation.

Generate shell integration function

Output a shell function to eval in your rc file. Usage: eval "$(wtm shell-init)"

wtm shell-init [flags]
# zsh or bash: add this line to ~/.zshrc or ~/.bashrc
eval "$(wtm shell-init)"
# fish: add this line to config.fish
wtm shell-init | source
-h, --help help for shell-init
-q, --quiet Silence human output; errors and the exit code are unaffected, and --output json still emits its document
  • wtm - Orchestrate git worktrees and team dev workflows from the terminal