Skip to main content

Module shell

Module shell 

Source
Expand description

Shell integration workflow (git claw shell-hook).

Emits shell wrapper functions for bash and zsh enabling automatic directory navigation (cd) upon worktree creation and switching.

Structs§

ShellHookOptions
Options for shell hook generation.

Functions§

generate_shell_hook
Generates the shell hook script for the specified shell.
run_shell_hook
Runs the shell hook workflow, outputting the wrapper script to stdout.