diff --git a/src/commands/config.rs b/src/commands/config.rs index db819466b..07f553332 100644 --- a/src/commands/config.rs +++ b/src/commands/config.rs @@ -191,17 +191,47 @@ fn is_plugin_installed() -> bool { content.contains("\"worktrunk@worktrunk\"") } +/// Get the git version string (e.g., "2.47.1") +fn get_git_version() -> Option { + use std::process::Command; + use worktrunk::shell_exec::run; + + let mut cmd = Command::new("git"); + cmd.args(["--version"]); + + let output = run(&mut cmd, None).ok()?; + if !output.status.success() { + return None; + } + + // Parse "git version 2.47.1" -> "2.47.1" + let stdout = String::from_utf8_lossy(&output.stdout); + stdout + .trim() + .strip_prefix("git version ") + .map(|s| s.to_string()) +} + /// Render OTHER section (version, Claude plugin, hyperlinks) fn render_runtime_info(out: &mut String) -> anyhow::Result<()> { let cmd = crate::binary_name(); let version = version_str(); - // Version as suffix to heading + writeln!(out, "{}", format_heading("OTHER", None))?; + + // Version info writeln!( out, "{}", - format_heading("OTHER", Some(&cformat!("{cmd} {version}"))) + info_message(cformat!("{cmd}: {version}")) )?; + if let Some(git_version) = get_git_version() { + writeln!( + out, + "{}", + info_message(cformat!("git: {git_version}")) + )?; + } // Claude Code plugin status let plugin_installed = is_plugin_installed(); @@ -1754,4 +1784,17 @@ mod tests { let path = result.unwrap(); assert!(path.ends_with("worktrunk/config.toml")); } + + // ==================== get_git_version tests ==================== + + #[test] + fn test_get_git_version_returns_version() { + // In a normal environment with git installed, should return a version + let version = get_git_version(); + assert!(version.is_some()); + let version = version.unwrap(); + // Version should look like a semver (e.g., "2.47.1") + assert!(version.chars().next().unwrap().is_ascii_digit()); + assert!(version.contains('.')); + } } diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 8e7857e4d..b8d930f77 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -2110,12 +2110,16 @@ fn setup_snapshot_settings_for_paths( // On Windows, clap shows "wt.exe" instead of "wt" settings.add_filter(r"wt\.exe", "wt"); - // Normalize version strings in `wt config show` OTHER section (formerly RUNTIME) - // Version can be: v0.8.5, v0.8.5-2-gabcdef, v0.8.5-dirty, or bare git hash (b9ffe83) - // Format: "OTHER wt v0.9.0" with cyan ANSI codes around OTHER - // Pattern: OTHER wt VERSION + // Normalize version strings in `wt config show` OTHER section + // wt version can be: v0.8.5, v0.8.5-2-gabcdef, v0.8.5-dirty, or bare git hash (b9ffe83) + // Format: "○ wt: VERSION" on its own line settings.add_filter( - r"(OTHER\x1b\[39m wt )(?:v[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9]+-g[0-9a-f]+)?(?:-dirty)?|[0-9a-f]{7,40})", + r"(wt: \x1b\[1m)(?:v[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9]+-g[0-9a-f]+)?(?:-dirty)?|[0-9a-f]{7,40})", + "${1}[VERSION]", + ); + // git version format: "○ git: VERSION" (e.g., "2.47.1") + settings.add_filter( + r"(git: \x1b\[1m)[0-9]+\.[0-9]+\.[0-9]+[^\x1b]*", "${1}[VERSION]", ); 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 ba969a143..98357aaf8 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,7 +46,9 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed. To install, run:   claude plugin marketplace add max-sixty/worktrunk   claude plugin install worktrunk@worktrunk 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 2ec8a9991..b84ac981b 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 e2df69f13..060048d59 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 @@ -9,7 +9,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -59,6 +59,8 @@ exit_code: 0   ○ Ran command:     nonexistent-llm-command-12345 -m test-model -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 bfc7aa159..068efe67c 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 @@ -9,7 +9,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -51,6 +51,8 @@ exit_code: 0 ↳ CI status requires GitHub or GitLab remote ↳ Commit generation not configured -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 b0bdb613c..c2b34c4f8 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 b0bdb613c..c2b34c4f8 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 e72d8da5e..fe232fbd3 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -52,6 +52,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 3b5b4f9b7..0ce2dbc7e 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -52,6 +52,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 b0bdb613c..c2b34c4f8 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 4c3058f30..a6bbdf6d2 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 137988e48..940c35fb2 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_EDITOR: "" HOME: "[TEST_HOME]" PATH: "[PATH]" @@ -38,6 +38,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap index b40909d50..c9f5ff389 100644 --- a/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap +++ b/tests/snapshots/integration__integration_tests__config_show__config_show_partial_shell_config_shows_hint.snap @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -50,6 +50,8 @@ exit_code: 0 ↳ To enable shell integration, run wt config shell install -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 3b63401f6..55809a804 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ✓ Claude Code plugin installed ○ Hyperlinks: inactive diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap index 7fc14535e..f0c928ee3 100644 --- a/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap +++ b/tests/snapshots/integration__integration_tests__config_show__config_show_shell_integration_active.snap @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 f6ce555c0..9a66b5237 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -53,6 +53,8 @@ exit_code: 0 ↳ If this is 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. -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 cbd4d0aae..07f9f5b0e 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -48,6 +48,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 97cea6c30..2c003e786 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -50,6 +50,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 2ec8a9991..b84ac981b 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -46,6 +46,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive 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 4141527d0..d55ba5375 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 @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -52,6 +52,8 @@ exit_code: 0 ○ Skipped zsh; ~/.zshrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap index a01a1e7de..7d3b41b40 100644 --- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap +++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_correct_order.snap @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -48,6 +48,8 @@ exit_code: 0 ○ Skipped bash; ~/.bashrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive diff --git a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap index 964aa8e7c..03475e7b3 100644 --- a/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap +++ b/tests/snapshots/integration__integration_tests__config_show__config_show_zsh_compinit_warning.snap @@ -8,7 +8,7 @@ info: env: APPDATA: "[TEST_CONFIG_HOME]" CLICOLOR_FORCE: "1" - COLUMNS: "150" + COLUMNS: "500" GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z" GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z" GIT_CONFIG_GLOBAL: "[TEST_GIT_CONFIG]" @@ -50,6 +50,8 @@ exit_code: 0 ○ Skipped bash; ~/.bashrc not found ○ Skipped fish; ~/.config/fish/conf.d not found -OTHER wt [VERSION] +OTHER +○ wt: [VERSION] +○ git: [VERSION] ↳ Claude Code plugin not installed (claude not found) ○ Hyperlinks: inactive