Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(config): distinguish "not configured" from "not active" in shell status (#2572)

Maximilian Roosc48d91a67e74
diff --git a/src/commands/config/show.rs b/src/commands/config/show.rs
index 02599ff95..31923390f 100644
--- a/src/commands/config/show.rs
+++ b/src/commands/config/show.rs
@@ -702,12 +702,65 @@ fn render_project_config(out: &mut String) -> anyhow::Result<()> {
fn render_shell_status(out: &mut String) -> anyhow::Result<()> {
writeln!(out, "{}", format_heading("SHELL INTEGRATION", None))?;
+ // Use the same detection logic as `wt config shell install`. Hoisted above the
+ // active/inactive warning so the warning text can distinguish "installed but
+ // not loaded" (▲ not active) from "never installed" (▲ not configured).
+ let cmd = crate::binary_name();
+ let scan_result = match scan_shell_configs(None, true, &cmd) {
+ Ok(r) => r,
+ Err(e) => {
+ writeln!(
+ out,
+ "{}",
+ hint_message(format!("Could not determine shell status: {e}"))
+ )?;
+ return Ok(());
+ }
+ };
+
+ // Get detection details to show matched lines inline
+ let detection_results = scan_for_detection_details(&cmd).unwrap_or_default();
+
+ // Check for legacy fish conf.d path (deprecated location from before #566)
+ // We need this early to handle the case where fish shows "Not configured" at the
+ // new location but has valid integration at the legacy location.
+ let legacy_fish_conf_d = Shell::legacy_fish_conf_d_path(&cmd).ok();
+ let legacy_fish_has_integration = legacy_fish_conf_d.as_ref().is_some_and(|legacy_path| {
+ detection_results
+ .iter()
+ .any(|d| d.path == *legacy_path && !d.matched_lines.is_empty())
+ });
+
+ // "Configured somewhere" means any rc file already has the init line, any
+ // wrapper-based shell has its wrapper file (WouldAdd on a wrapper means
+ // the file exists but content differs — i.e. outdated, still installed),
+ // or fish has integration at the legacy conf.d path.
+ let any_configured_somewhere = scan_result.configured.iter().any(|r| {
+ matches!(r.action, ConfigAction::AlreadyExists)
+ || (r.shell.is_wrapper_based() && matches!(r.action, ConfigAction::WouldAdd))
+ }) || legacy_fish_has_integration;
+
// Shell integration runtime status (moved from RUNTIME section)
let shell_active = output::is_shell_integration_active();
+ // When the user has no working integration anywhere, the install hint goes
+ // directly under the warning so cause and remedy stay together. The trailing
+ // hint at the bottom of the section is suppressed in this case.
+ let hint_under_warning = !shell_active && !any_configured_somewhere;
if shell_active {
writeln!(out, "{}", info_message("Shell integration active"))?;
} else {
- writeln!(out, "{}", warning_message("Shell integration not active"))?;
+ let warning_text = if any_configured_somewhere {
+ "Shell integration not active"
+ } else {
+ "Shell integration not configured"
+ };
+ writeln!(out, "{}", warning_message(warning_text))?;
+ if hint_under_warning {
+ let hint = hint_message(cformat!(
+ "To configure, run <underline>{cmd} config shell install</>"
+ ));
+ writeln!(out, "{hint}")?;
+ }
// Show invocation details to help diagnose
let invocation = crate::invocation_path();
let is_git_subcommand = crate::is_git_subcommand();
@@ -741,33 +794,6 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {
}
writeln!(out)?;
- // Use the same detection logic as `wt config shell install`
- let cmd = crate::binary_name();
- let scan_result = match scan_shell_configs(None, true, &cmd) {
- Ok(r) => r,
- Err(e) => {
- writeln!(
- out,
- "{}",
- hint_message(format!("Could not determine shell status: {e}"))
- )?;
- return Ok(());
- }
- };
-
- // Get detection details to show matched lines inline
- let detection_results = scan_for_detection_details(&cmd).unwrap_or_default();
-
- // Check for legacy fish conf.d path (deprecated location from before #566)
- // We need this early to handle the case where fish shows "Not configured" at the
- // new location but has valid integration at the legacy location.
- let legacy_fish_conf_d = Shell::legacy_fish_conf_d_path(&cmd).ok();
- let legacy_fish_has_integration = legacy_fish_conf_d.as_ref().is_some_and(|legacy_path| {
- detection_results
- .iter()
- .any(|d| d.path == *legacy_path && !d.matched_lines.is_empty())
- });
-
let mut any_not_configured = false;
let mut has_any_unmatched = false;
@@ -992,15 +1018,14 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {
)?;
}
- // Summary hint when the user has no working integration and could install some.
- // Fires when any shell is in the plain "Not configured" state (rc file present,
- // no init line) AND in the fresh-user case where every shell falls into `skipped`
- // because no rc file exists. Without this second arm, a brand-new user runs
- // `wt config show` and sees only "▲ not active" + four "Skipped" lines with no
- // next step. The `!shell_active` gate avoids firing for the dotfile-manager
- // case (wrapper sourced from a non-standard path so no rc file has the init line).
+ // Summary hint pointing at `wt config shell install`. The fresh-user and
+ // nothing-configured-anywhere cases are already covered by the hint emitted
+ // directly under the warning, so this trailing emit is suppressed when
+ // `hint_under_warning` fired. It still fires for the partial-config case
+ // (some shells configured, some not) and for fish-legacy (working
+ // integration via the legacy path, other shells unconfigured).
let nothing_configured_yet = !shell_active && scan_result.configured.is_empty();
- if any_not_configured || nothing_configured_yet {
+ if !hint_under_warning && (any_not_configured || nothing_configured_yet) {
writeln!(
out,
"{}",
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap
index 02f4a64dc..440e88903 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_claude_available_plugin_not_installed.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
CLAUDE CODE
↳ Plugin not installed. To install, run wt config plugins claude install
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap
index a92eef7e6..374df6ad5 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_deprecation_details.snap
@@ -67,14 +67,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_cd_deprecation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_cd_deprecation.snap
index 6ebd02d77..8b4958943 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_cd_deprecation.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_cd_deprecation.snap
@@ -65,14 +65,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_ff_deprecation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_ff_deprecation.snap
index 37280ba5a..c315abd22 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_ff_deprecation.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_no_ff_deprecation.snap
@@ -65,14 +65,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_pre_hook_table_form_deprecation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_pre_hook_table_form_deprecation.snap
index 27bad519f..5012eb866 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_pre_hook_table_form_deprecation.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_pre_hook_table_form_deprecation.snap
@@ -74,14 +74,14 @@ exit_code: 0
  env = "cp .env.example .env"
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap
index 2b35fa74b..bac61965a 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_project_commit_generation_deprecations.snap
@@ -67,14 +67,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_select_section_deprecation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_select_section_deprecation.snap
index 12219b30e..4726dc297 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_displays_select_section_deprecation.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_displays_select_section_deprecation.snap
@@ -65,14 +65,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap
index fd95b135d..49262e6d0 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_project_config.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Empty file
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap
index 67a282754..aa652a6a1 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_empty_system_config.snap
@@ -57,14 +57,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap
index e57ac9a9e..cc400fc07 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_from_linked_worktree_shows_main_worktree_hint.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ To apply: wt -C _REPO_ config update
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
index 2fe07a6d7..afe5261c6 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_command_not_found.snap
@@ -60,14 +60,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
DIAGNOSTICS
↳ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
index 5fd26b212..6a3f5e78a 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_not_configured.snap
@@ -57,14 +57,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
DIAGNOSTICS
↳ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap
index d0b8c3b0d..443364995 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_update_available.snap
@@ -57,14 +57,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
DIAGNOSTICS
↳ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap
index b5381cac1..4a6ff9e36 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_full_version_check_unavailable.snap
@@ -57,14 +57,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
DIAGNOSTICS
↳ CI status requires GitHub or GitLab remote
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
index 367097669..00ac29cde 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_github_remote.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
index 367097669..00ac29cde 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_gitlab_remote.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap
index d97344c6e..97a1eff85 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_project_toml.snap
@@ -61,14 +61,14 @@ exit_code: 0
  invalid = [unclosed bracket
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap
index 7e320cdd5..1c2c0ff78 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_system_config.snap
@@ -63,14 +63,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap
index ba1e8d90d..c83e427c5 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_invalid_user_toml.snap
@@ -61,14 +61,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
index 367097669..00ac29cde 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_no_project_config.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap
index 7ab23cd30..3bfb72ee9 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_no_user_config.snap
@@ -54,14 +54,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_available_plugin_not_installed.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_available_plugin_not_installed.snap
index 400fd6861..7dde9b958 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_available_plugin_not_installed.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_available_plugin_not_installed.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OPENCODE
↳ Plugin not installed. To install, run wt config plugins opencode install
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_installed.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_installed.snap
index d23717d7d..26c833e79 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_installed.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_installed.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OPENCODE
✓ Plugin installed
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_outdated.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_outdated.snap
index bfdfdef14..aad41e274 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_outdated.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_opencode_plugin_outdated.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OPENCODE
↳ Plugin outdated. To update, run wt config plugins opencode install
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap
index 0ff3116d6..1265d15a7 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_outside_git_repo.snap
@@ -44,14 +44,14 @@ exit_code: 0
PROJECT CONFIG Not in a git repository
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap
index 610b7debd..45566c559 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_plugin_installed.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
CLAUDE CODE
✓ Plugin installed
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_statusline_configured.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_statusline_configured.snap
index 09c9fec18..ff2811575 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_statusline_configured.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_statusline_configured.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
CLAUDE CODE
✓ Plugin installed
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap
index 16f44be75..79d39731c 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_project_config_for_ci.snap
@@ -70,14 +70,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap
index 586e621ad..c3b7e76e5 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_suggests_user_config_for_commit_generation.snap
@@ -68,14 +68,14 @@ exit_code: 0
▲ Key commit-generation belongs in user config as [commit.generation]
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap
index ed3158668..550cdef78 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_unmatched_candidate_warning.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Not configured shell extension & completions
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
▲ Found wt in ~/.bashrc:3 but not detected as integration:
  alias wt="git worktree"
↳ If `alias wt="git worktree"` is meant to load Worktrunk shell integration, report a false negative: https://github.com/max-sixty/worktrunk/issues/new?title=Shell%20integration%20detection%20false%20negative&body=Shell%20integration%20not%20detected%20despite%20config%20containing%20%60wt%60.%0A%0A%2A%2AUnmatched%20lines%3A%2A%2A%0A%60%60%60%0Aalias%20wt%3D%22git%20worktree%22%0A%60%60%60%0A%0A%2A%2AExpected%20behavior%3A%2A%2A%20These%20lines%20should%20be%20detected%20as%20shell%20integration.
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
index 0e9973947..772c31b33 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_project_keys.snap
@@ -57,14 +57,14 @@ exit_code: 0
  deploy = "task deploy"
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
index 80b116167..1e806c71b 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_warns_unknown_user_keys.snap
@@ -59,14 +59,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap
index fd95b135d..49262e6d0 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_whitespace_only_project_config.snap
@@ -55,14 +55,14 @@ exit_code: 0
↳ Empty file
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
index 9aef0506d..28dd7c5e9 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_with_project_config.snap
@@ -58,14 +58,14 @@ exit_code: 0
  server = "npm run dev"
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]
diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap
index c6d31ac38..03289e99e 100644
--- a/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap
+++ b/tests/snapshots/integration__integration_tests__config_show__config_show_with_system_config.snap
@@ -62,14 +62,14 @@ exit_code: 0
↳ Not found
SHELL INTEGRATION
-▲ Shell integration not active
+▲ Shell integration not configured
+↳ To configure, run wt config shell install
  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ bash: Skipped; ~/.bashrc not found
○ zsh: Skipped; ~/.zshrc not found
○ fish: Skipped; ~/.config/fish/functions not found
○ nu: Skipped; ~/.config/nushell/vendor/autoload not found
-↳ To configure, run wt config shell install
OTHER
○ wt: [VERSION]