Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs: deduplicate manual shell setup from `wt config --help` (#986)
Maximilian Roos61e501e8d4d7
diff --git a/.claude-plugin/skills/worktrunk/reference/config.md b/.claude-plugin/skills/worktrunk/reference/config.mdindex 6c2cd0a43..73358aa61 100644--- a/.claude-plugin/skills/worktrunk/reference/config.md+++ b/.claude-plugin/skills/worktrunk/reference/config.md@@ -305,18 +305,7 @@ Worktrunk needs shell integration to change directories when switching worktreeswt config shell install```-Or manually add to the shell config:--```bash-# For bash: add to ~/.bashrc-eval "$(wt config shell init bash)"--# For zsh: add to ~/.zshrc-eval "$(wt config shell init zsh)"--# For fish: add to ~/.config/fish/config.fish-wt config shell init fish | source-```+For manual setup, see `wt config shell init --help`.Without shell integration, `wt switch` prints the target directory but cannot `cd` into it.diff --git a/docs/content/config.md b/docs/content/config.mdindex c9af92894..7ac4460ab 100644--- a/docs/content/config.md+++ b/docs/content/config.md@@ -313,18 +313,7 @@ Worktrunk needs shell integration to change directories when switching worktreeswt config shell install```-Or manually add to the shell config:--```bash-# For bash: add to ~/.bashrc-eval "$(wt config shell init bash)"--# For zsh: add to ~/.zshrc-eval "$(wt config shell init zsh)"--# For fish: add to ~/.config/fish/config.fish-wt config shell init fish | source-```+For manual setup, see `wt config shell init --help`.Without shell integration, `wt switch` prints the target directory but cannot `cd` into it.diff --git a/src/cli/mod.rs b/src/cli/mod.rsindex e451d50be..a174807e8 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -1756,18 +1756,7 @@ Worktrunk needs shell integration to change directories when switching worktreeswt config shell install```-Or manually add to the shell config:--```console-# For bash: add to ~/.bashrc-eval "$(wt config shell init bash)"--# For zsh: add to ~/.zshrc-eval "$(wt config shell init zsh)"--# For fish: add to ~/.config/fish/config.fish-wt config shell init fish | source-```+For manual setup, see `wt config shell init --help`.Without shell integration, `wt switch` prints the target directory but cannot `cd` into it.diff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snapindex a360c1331..0d0ef28c2 100644--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap@@ -316,16 +316,7 @@ Worktrunk needs shell integration to change directories when switching worktrees[2mwt config shell install[0m-Or manually add to the shell config:-- [2m# For bash: add to ~/.bashrc[0m- [2meval "$(wt config shell init bash)"[0m- [2m[0m- [2m# For zsh: add to ~/.zshrc[0m- [2meval "$(wt config shell init zsh)"[0m- [2m[0m- [2m# For fish: add to ~/.config/fish/config.fish[0m- [2mwt config shell init fish | source[0m+For manual setup, see [2mwt config shell init --help[0m.Without shell integration, [2mwt switch[0m prints the target directory but cannot [2mcd[0m into it.