Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Refactor: Streamline progress and warning messages
Maximilian Roos48295244710d
diff --git a/src/commands/config.rs b/src/commands/config.rsindex ccc107d85..6537a3e0d 100644--- a/src/commands/config.rs+++ b/src/commands/config.rs@@ -464,7 +464,7 @@ pub fn handle_cache_show() -> anyhow::Result<()> {let repo = Repository::current();// Show default branch cache- crate::output::info(cformat!("<dim>Default branch cache:</>"))?;+ crate::output::info("Default branch cache:")?;match repo.default_branch() {Ok(branch) => crate::output::data(format!(" {branch}"))?,Err(_) => crate::output::data(" (not cached)")?,@@ -472,7 +472,7 @@ pub fn handle_cache_show() -> anyhow::Result<()> {crate::output::blank()?;// Show CI status cache- crate::output::info(cformat!("<dim>CI status cache:</>"))?;+ crate::output::info("CI status cache:")?;let entries = CachedCiStatus::list_all(&repo);if entries.is_empty() {diff --git a/src/commands/worktree.rs b/src/commands/worktree.rsindex b5f6f436c..3bb723cc7 100644--- a/src/commands/worktree.rs+++ b/src/commands/worktree.rs@@ -526,8 +526,9 @@ pub fn handle_remove(// Show progress (unless running in background - output handler will show command)if !background {- let progress_msg = cformat!("<cyan>Removing worktree for <bold>{worktree_name}</>...</>");- crate::output::progress(progress_msg)?;+ crate::output::progress(cformat!(+ "Removing worktree for <bold>{worktree_name}</>..."+ ))?;}repo.remove_worktree_by_name(worktree_name, no_delete_branch, force_delete)@@ -546,7 +547,7 @@ pub fn handle_remove_current(// Show progress (unless running in background - output handler will show command)if !background {- crate::output::progress(cformat!("<cyan>Removing current worktree...</>"))?;+ crate::output::progress("Removing current worktree...")?;}repo.remove_current_worktree(no_delete_branch, force_delete)@@ -567,7 +568,7 @@ pub fn handle_remove_by_path(if !background {crate::output::progress(cformat!(- "<cyan>Removing worktree at <bold>{}</>...</>",+ "Removing worktree at <bold>{}</>...",worktrunk::path::format_path_for_display(path)))?;}diff --git a/src/output/handlers.rs b/src/output/handlers.rsindex 074084838..7d6811f38 100644--- a/src/output/handlers.rs+++ b/src/output/handlers.rs@@ -130,15 +130,13 @@ fn handle_branch_deletion_result(Ok(None) => {// Branch not integrated - we chose not to delete (not a failure)super::info(cformat!(- "<bright-black>Branch <bold>{branch_name}</> retained; not integrated into HEAD</>"+ "Branch <bold>{branch_name}</> retained; not integrated into HEAD"))?;Ok(None)}Err(e) => {// Git command failed - show warning with actual error details- super::warning(cformat!(- "<yellow>Could not delete branch <bold>{branch_name}</></>"- ))?;+ super::warning(cformat!("Could not delete branch <bold>{branch_name}</>"))?;super::gutter(format_with_gutter(&e.to_string(), "", None))?;Ok(None)}@@ -210,23 +208,23 @@ fn format_remove_worktree_message(if changed_directory {if let Some(b) = branch_display {cformat!(- "<green>Removed <bold>{b}</> {action_suffix}; changed directory to <bold>{path_display}</>{flag_note}</>"+ "Removed <bold>{b}</> {action_suffix}; changed directory to <bold>{path_display}</>{flag_note}")} else {cformat!(- "<green>Removed {action_suffix}; changed directory to <bold>{path_display}</>{flag_note}</>"+ "Removed {action_suffix}; changed directory to <bold>{path_display}</>{flag_note}")}} else if let Some(b) = branch_display {- cformat!("<green>Removed <bold>{b}</> {action_suffix}{flag_note}</>")+ cformat!("Removed <bold>{b}</> {action_suffix}{flag_note}")} else {- cformat!("<green>Removed {action_suffix}{flag_note}</>")+ format!("Removed {action_suffix}{flag_note}")}}-/// Shell integration hint message (with HINT styling - emoji added by shell_integration_hint())+/// Shell integration hint message (hint() adds dim styling)fn shell_integration_hint() -> String {- cformat!("<dim>Run `wt config shell install` to enable automatic cd</>")+ "Run `wt config shell install` to enable automatic cd".to_string()}/// Handle output for a switch operation@@ -301,7 +299,7 @@ pub fn execute_user_command(command: &str) -> anyhow::Result<()> {use worktrunk::styling::format_bash_with_gutter;// Show what command is being executed (section header + gutter content)- super::progress(cformat!("<cyan>Executing (--execute):</>"))?;+ super::progress("Executing (--execute):")?;super::gutter(format_bash_with_gutter(command, ""))?;super::execute(command)?;@@ -386,7 +384,7 @@ fn handle_branch_only_output() -> anyhow::Result<()> {// Warn that no worktree was found (user asked to remove it)super::warning(cformat!(- "<yellow>No worktree found for branch <bold>{branch_name}</></>"+ "No worktree found for branch <bold>{branch_name}</>"))?;// Attempt branch deletion (unless --no-delete-branch was specified)diff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snapindex 7c67f87f1..10fb6ce01 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_accept.snap@@ -14,4 +14,4 @@ y[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m[0m[0mtest commandβ [32m[32mCreated new worktree for [1mtest-approve[22m from [1mmain[22m at [1m[REPO]/repo.test-approve[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snapindex fa79ad7b0..619c4764f 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_decline.snap@@ -12,4 +12,4 @@ nπ‘ Allow and remember? [1m[y/N][22mβͺ Commands declined, continuing worktree creationβ [32m[32mCreated new worktree for [1mtest-decline[22m from [1mmain[22m at [1m[REPO]/repo.test-decline[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snapindex 8a40103ce..da26fad4a 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_accept.snap@@ -23,4 +23,4 @@ y[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Third command'[0m[2m[0m[0mThird commandβ [32m[32mCreated new worktree for [1mtest-mixed-accept[22m from [1mmain[22m at [1m[REPO]/repo.test-mixed-accept[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snapindex 9e6b3be55..ce8fc614d 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_mixed_approved_unapproved_decline.snap@@ -15,4 +15,4 @@ nπ‘ Allow and remember? [1m[y/N][22mβͺ Commands declined, continuing worktree creationβ [32m[32mCreated new worktree for [1mtest-mixed-decline[22m from [1mmain[22m at [1m[REPO]/repo.test-mixed-decline[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snapindex f749dd019..6fa5c7ab8 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_multiple_commands.snap@@ -26,4 +26,4 @@ y[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Third command'[0m[2m[0m[0mThird commandβ [32m[32mCreated new worktree for [1mtest-multi[22m from [1mmain[22m at [1m[REPO]/repo.test-multi[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snapindex 2313be6bf..7dccf8f82 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_named_commands.snap@@ -26,4 +26,4 @@ y[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running tests...'[0m[2m[0m[0mRunning tests...β [32m[32mCreated new worktree for [1mtest-named[22m from [1mmain[22m at [1m[REPO]/repo.test-named[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snapindex df10f9030..7d23e3a36 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__approval_pty__approval_prompt_permission_error.snap@@ -16,4 +16,4 @@ y[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m[0m[0mtest commandβ [32m[32mCreated new worktree for [1mtest-permission[22m from [1mmain[22m at [1m[REPO]/repo.test-permission[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snapindex a100dfea3..7933b3270 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__fish_multiline_command_execution.snap@@ -3,7 +3,7 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32m[32mCreated new worktree for [1mfish-multiline[22m from [1mmain[22m at [1m[TMPDIR]/repo.fish-multiline[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line 1'[0m[2m; [0m[2m[34mecho[0m[2m [0m[2m[32m'line 2'[0m[2m; [0m[2m[34mecho[0m[2m [0m[2m[32m'line 3'[0m[2m[0mline 1line 2diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snapindex 650484bae..f6b59740d 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute.snap@@ -3,6 +3,6 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32m[32mCreated new worktree for [1mtest-exec[22m from [1mmain[22m at [1m[TMPDIR]/repo.test-exec[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m executed[0mexecuteddiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snapindex 650484bae..f6b59740d 100644--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap+++ b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_execute_through_wrapper.snap@@ -3,6 +3,6 @@ source: tests/integration_tests/shell_wrapper.rsexpression: output.normalized()---β [32m[32mCreated new worktree for [1mtest-exec[22m from [1mmain[22m at [1m[TMPDIR]/repo.test-exec[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m executed[0mexecuteddiff --git a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snapindex 6d019ea6b..2e0c2c2ac 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__already_approved_skip_prompt.snap@@ -27,4 +27,4 @@ exit_code: 0π [36mRunning post-create:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'approved'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m[0mβ [32m[32mCreated new worktree for [1mtest-approved[22m from [1mmain[22m at [1m[REPO].test-approved[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snapindex a462e2c5c..409e74918 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_bypasses_tty_check.snap@@ -29,4 +29,4 @@ exit_code: 0[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m[0m[0mtest commandβ [32m[32mCreated new worktree for [1mtest-force-tty[22m from [1mmain[22m at [1m[REPO].test-force-tty[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snapindex 831ab6572..4d9a43bda 100644--- a/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap+++ b/tests/snapshots/integration__integration_tests__approval_ui__force_does_not_save_approvals_first_run.snap@@ -28,4 +28,4 @@ exit_code: 0π [36mRunning post-create:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test command'[0m[2m [0m[2m[36m>[0m[2m output.txt[0m[0mβ [32m[32mCreated new worktree for [1mtest-force[22m from [1mmain[22m at [1m[REPO].test-force[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snapindex 0183a2aa4..0875a8789 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_hooks_post_create.snap@@ -32,6 +32,6 @@ exit_code: 0Resolved 24 packages in 145msInstalled 24 packages in 1.2sβ [32m[32mCreated new worktree for [1mfeature-x[22m from [1mmain[22m at [1m[REPO].feature-x[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start [1mdev[22m:[39m[107m [0m [2m[0m[2m[34muv[0m[2m run dev[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap b/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snapindex aea57c0c2..ce013d128 100644--- a/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap+++ b/tests/snapshots/integration__integration_tests__merge__readme_example_simple_switch.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfix-auth[22m from [1mmain[22m at [1m[REPO].fix-auth[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snapindex 90bc0b2b8..3cb2c9f9c 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap@@ -28,6 +28,6 @@ exit_code: 0π [36mRunning post-create:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Setup done'[0m[2m [0m[2m[36m>[0m[2m setup.txt[0m[0mβ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start [1mserver[22m:[39m[107m [0m [2m[0m[2m[34msleep[0m[2m 0.05 [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'Server running'[0m[2m [0m[2m[36m>[0m[2m server.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snapindex e10ae83d1..3e345601d 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__execute_with_post_start.snap@@ -30,5 +30,5 @@ exit_code: 0β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Background task'[0m[2m [0m[2m[36m>[0m[2m background.txt[0m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Execute flag'[0m[2m [0m[2m[36m>[0m[2m execute.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snapindex 21ebe54d9..ff2579a60 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_failing_command.snap@@ -29,4 +29,4 @@ exit_code: 0[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0m[0mπ‘ [33mCommand failed: exit status: 1[39mβ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snapindex b9b3f89f2..359627adb 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiline_control_structure.snap@@ -32,4 +32,4 @@ exit_code: 0[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'File exists'[0m[2m [0m[2m[36m>[0m[2m result.txt[0m[107m [0m [2m[0m[2m[34mfi[0m[2m[0m[0mβ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snapindex 2dc785d6f..f0053eb0e 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap@@ -32,4 +32,4 @@ exit_code: 0[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Second'[0m[2m[0m[0mSecondβ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snapindex 809268855..de63ca1f4 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap@@ -32,4 +32,4 @@ exit_code: 0[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Running setup'[0m[2m[0m[0mRunning setupβ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snapindex 83d86c56f..21dde55b8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_no_config.snap@@ -26,4 +26,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snapindex 8455f4374..556e5e62b 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_single_command.snap@@ -29,4 +29,4 @@ exit_code: 0[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Setup complete'[0m[2m[0m[0mSetup completeβ [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snapindex cfa176399..047b70361 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap@@ -34,4 +34,4 @@ exit_code: 0[0mπ [36mRunning post-create:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Root: [REPO]'[0m[2m [0m[2m[36m>>[0m[2m info.txt[0m[0mβ [32m[32mCreated new worktree for [1mfeature/test[22m from [1mmain[22m at [1m[REPO].feature-test[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snapindex 38c37c928..24d443965 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_complex_shell.snap@@ -26,7 +26,7 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m 'line1[0m[107m [0m [2m[0m[2m[34mline2[0m[2m[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snapindex 63cdb8732..dddb32bc3 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_create_with_command.snap@@ -26,6 +26,6 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'POST-START-RAN'[0m[2m [0m[2m[36m>[0m[2m post_start_marker.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snapindex 6db6ff154..8141a3fd8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_invalid_command.snap@@ -26,6 +26,6 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m 'unclosed quote[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snapindex e6c8bdd22..49caba3c8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_log_captures_output.snap@@ -26,6 +26,6 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'stdout output'[0m[2m [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'stderr output'[0m[2m >&2[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snapindex 1aeaa0ab2..6a68c920a 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiline_with_newlines.snap@@ -26,7 +26,7 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'first line'[0m[2m [0m[2m[36m>[0m[2m multiline.txt[0m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'second line'[0m[2m [0m[2m[36m>>[0m[2m multiline.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snapindex b401cbab2..02a03a6f1 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap@@ -26,7 +26,7 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start [1mtask1[22m:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'Task 1 running'[0m[2m [0m[2m[36m>[0m[2m task1.txt[0mπ [36mRunning post-start [1mtask2[22m:[39mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snapindex bdade5a5b..8879b9602 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap@@ -26,7 +26,7 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start [1mtask1[22m:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'TASK1_OUTPUT'[0m[2m[0mπ [36mRunning post-start [1mtask2[22m:[39mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snapindex 8c15c2b5b..eff2cd6d8 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_single_background.snap@@ -26,6 +26,6 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mπ [36mRunning post-start:[39m[107m [0m [2m[0m[2m[34msleep[0m[2m 0.1 [0m[2m[36m&&[0m[2m [0m[2m[34mecho[0m[2m [0m[2m[32m'Background task done'[0m[2m [0m[2m[36m>[0m[2m background.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snapindex 7f2378aa7..a79504d7b 100644--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap+++ b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_skip_existing.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mfeature[22m at [1m[REPO].feature[22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_branch_matching_tree_content.snap b/tests/snapshots/integration__integration_tests__remove__remove_branch_matching_tree_content.snapindex 56c6ab823..fb3cdf0da 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_branch_matching_tree_content.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_branch_matching_tree_content.snap@@ -23,5 +23,5 @@ exit_code: 0----- stdout ---------- stderr ------π‘ [33m[33mNo worktree found for branch [1mfeature-squashed[39m[22m[39m+π‘ [33mNo worktree found for branch [1mfeature-squashed[22m[39mβ [32m[32mRemoved branch [1mfeature-squashed[22m[39m[39mdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_branch_only_force_delete.snap b/tests/snapshots/integration__integration_tests__remove__remove_branch_only_force_delete.snapindex 9eccff10d..21b9667d6 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_branch_only_force_delete.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_branch_only_force_delete.snap@@ -24,5 +24,5 @@ exit_code: 0----- stdout ---------- stderr ------π‘ [33m[33mNo worktree found for branch [1mfeature-force[39m[22m[39m+π‘ [33mNo worktree found for branch [1mfeature-force[22m[39mβ [32m[32mRemoved branch [1mfeature-force[22m (--force-delete)[39m[39mdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_branch_only_merged.snap b/tests/snapshots/integration__integration_tests__remove__remove_branch_only_merged.snapindex 479d03b90..d7880771b 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_branch_only_merged.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_branch_only_merged.snap@@ -23,5 +23,5 @@ exit_code: 0----- stdout ---------- stderr ------π‘ [33m[33mNo worktree found for branch [1mfeature-merged[39m[22m[39m+π‘ [33mNo worktree found for branch [1mfeature-merged[22m[39mβ [32m[32mRemoved branch [1mfeature-merged[22m[39m[39mdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_branch_only_unmerged.snap b/tests/snapshots/integration__integration_tests__remove__remove_branch_only_unmerged.snapindex b0e676808..8119bf70b 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_branch_only_unmerged.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_branch_only_unmerged.snap@@ -23,5 +23,5 @@ exit_code: 0----- stdout ---------- stderr ------π‘ [33m[33mNo worktree found for branch [1mfeature-unmerged[39m[22m[39m-βͺ [90mBranch [1mfeature-unmerged[22m retained; not integrated into HEAD[39m+π‘ [33mNo worktree found for branch [1mfeature-unmerged[22m[39m+βͺ Branch [1mfeature-unmerged[22m retained; not integrated into HEADdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_default_branch_no_tautology.snap b/tests/snapshots/integration__integration_tests__remove__remove_default_branch_no_tautology.snapindex 86fac99bc..00b7571f0 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_default_branch_no_tautology.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_default_branch_no_tautology.snap@@ -24,5 +24,5 @@ exit_code: 0----- stdout ---------- stderr ------π [36m[36mRemoving worktree for [1mmain[22m...[39m[39m-β [32m[32mRemoved [1mmain[22m worktree & branch[39m[39m+π [36mRemoving worktree for [1mmain[22m...[39m+β [32mRemoved [1mmain[22m worktree & branch[39mdiff --git a/tests/snapshots/integration__integration_tests__remove__remove_foreground.snap b/tests/snapshots/integration__integration_tests__remove__remove_foreground.snapindex 2a7ce9f7c..a7265e67d 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_foreground.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_foreground.snap@@ -24,5 +24,5 @@ exit_code: 0----- stdout ---------- stderr ------π [36m[36mRemoving worktree for [1mfeature-fg[22m...[39m[39m-β [32m[32mRemoved [1mfeature-fg[22m worktree & branch (no marginal contribution to main)[39m[39m+π [36mRemoving worktree for [1mfeature-fg[22m...[39m+β [32mRemoved [1mfeature-fg[22m worktree & branch (no marginal contribution to main)[39mdiff --git a/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap b/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snapindex 06979c688..f9ae2d415 100644--- a/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap+++ b/tests/snapshots/integration__integration_tests__switch__create_with_base_main.snap@@ -28,4 +28,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mnew-feature[22m from [1mmain[22m at [1m[REPO].new-feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snapindex b808c9422..0852074f1 100644--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_1_main_to_feature_a.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----β [32m[32mSwitched to worktree for [1mfeature-a[22m at [1m[REPO].feature-a[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snapindex 77078f36e..5aa6d00e3 100644--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_2_feature_a_to_main.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mmain[22m at [1m[REPO][22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snapindex 422b2f5fd..db4423d8c 100644--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_3_dash_to_feature_a.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mfeature-a[22m at [1m[REPO].feature-a[22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snapindex 58f38715e..93086bf2d 100644--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_4_dash_to_main.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mmain[22m at [1m[REPO][22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap b/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snapindex 422b2f5fd..db4423d8c 100644--- a/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap+++ b/tests/snapshots/integration__integration_tests__switch__ping_pong_5_dash_to_feature_a_again.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mfeature-a[22m at [1m[REPO].feature-a[22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snapindex 2db1cbfd5..97d055161 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_new.snap@@ -26,4 +26,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature-x[22m from [1mmain[22m at [1m[REPO].feature-x[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snapindex 4d3583e40..a71c9f025 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_no_remote.snap@@ -26,4 +26,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature[22m from [1mmain[22m at [1m[REPO].feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap b/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snapindex 36d9a5aed..2ad517606 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_create_remote_only.snap@@ -28,4 +28,4 @@ exit_code: 0π‘ [33mBranch [1mremote-feature[22m exists on remote (origin/remote-feature); creating new branch from base instead[39mπ‘ [2mUse 'wt switch remote-feature' (without --create) to switch to the remote branch[22mβ [32m[32mCreated new worktree for [1mremote-feature[22m from [1mmain[22m at [1m[REPO].remote-feature[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_default_branch_missing_worktree.snap b/tests/snapshots/integration__integration_tests__switch__switch_default_branch_missing_worktree.snapindex b0f0882af..7cafa1fe2 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_default_branch_missing_worktree.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_default_branch_missing_worktree.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----β [32m[32mSwitched to worktree for [1mmain[22m at [1m[REPO].main[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snapindex 869b0a3cc..3f68a1078 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_creates_file.snap@@ -28,5 +28,5 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfile-test[22m from [1mmain[22m at [1m[REPO].file-test[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test content'[0m[2m [0m[2m[36m>[0m[2m test.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snapindex 6384c57b1..e272f071e 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_existing.snap@@ -27,5 +27,5 @@ exit_code: 0----- stderr -----β [32m[32mSwitched to worktree for [1mexisting-exec[22m at [1m[REPO].existing-exec[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'existing worktree'[0m[2m [0m[2m[36m>[0m[2m existing.txt[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snapindex 75426a1ba..5099aacde 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_failure.snap@@ -28,5 +28,5 @@ exit_code: 1----- stderr -----β [32m[32mCreated new worktree for [1mfail-test[22m from [1mmain[22m at [1m[REPO].fail-test[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mexit[0m[2m 1[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snapindex ba706d3e5..4a1224581 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_multiline.snap@@ -31,7 +31,7 @@ line3----- stderr -----β [32m[32mCreated new worktree for [1mmultiline-test[22m from [1mmain[22m at [1m[REPO].multiline-test[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line1'[0m[2m[0m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line2'[0m[2m[0m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line3'[0m[2m[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snapindex 9dc23ccca..eb08b12db 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_execute_success.snap@@ -29,5 +29,5 @@ test output----- stderr -----β [32m[32mCreated new worktree for [1mexec-test[22m from [1mmain[22m at [1m[REPO].exec-test[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'test output'[0m[2m[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snapindex 5f36f7852..f71ea1de7 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_branch.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mfeature-z[22m at [1m[REPO].feature-z[22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snapindex a031154a0..15d060867 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_exit_code.snap@@ -31,5 +31,5 @@ exit 42----- stderr -----β [32m[32mCreated new worktree for [1mexit-code-test[22m from [1mmain[22m at [1m[REPO].exit-code-test[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mexit[0m[2m 42[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snapindex dc5e39942..c26a9fb85 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_execute_output_then_exit.snap@@ -32,6 +32,6 @@ exit 7----- stderr -----β [32m[32mCreated new worktree for [1moutput-exit-test[22m from [1mmain[22m at [1m[REPO].output-exit-test[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'doing work'[0m[2m[0m[107m [0m [2m[0m[2m[34mexit[0m[2m 7[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snapindex ce3e4f51e..930007bed 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_internal_with_execute.snap@@ -32,6 +32,6 @@ echo 'line2'----- stderr -----β [32m[32mCreated new worktree for [1mexec-internal[22m from [1mmain[22m at [1m[REPO].exec-internal[39m[22m[39m-π [36m[36mExecuting (--execute):[39m[39m+π [36mExecuting (--execute):[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line1'[0m[2m[0m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'line2'[0m[2m[0mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap b/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snapindex b808c9422..0852074f1 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_main_branch_to_feature.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----β [32m[32mSwitched to worktree for [1mfeature-a[22m at [1m[REPO].feature-a[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snapindex a043842d3..f6a608410 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_primary_on_different_branch.snap@@ -26,4 +26,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature-from-main[22m from [1mmain[22m at [1m[REPO].feature-from-main[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snapindex f022ca88c..09c3eeb02 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_first_dash.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mbranch-a[22m at [1m[REPO].branch-a[22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snapindex ab39d0a2b..132d6ee8a 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_a.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----β [32m[32mSwitched to worktree for [1mbranch-a[22m at [1m[REPO].branch-a[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snapindex bda1875f8..9103f4f7f 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_stale_history_to_b.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----β [32m[32mSwitched to worktree for [1mbranch-b[22m at [1m[REPO].branch-b[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snapindex 498d31bb0..27454c781 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_to_existing_primary_on_different_branch.snap@@ -25,4 +25,4 @@ exit_code: 0----- stderr -----π‘ [33m[33mWorktree for [1mexisting-branch[22m at [1m[REPO].existing-branch[22m; cannot cd (no shell integration)[39m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22mdiff --git a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snapindex 693d36271..e22a4e62d 100644--- a/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap+++ b/tests/snapshots/integration__integration_tests__switch__switch_with_base.snap@@ -28,4 +28,4 @@ exit_code: 0----- stderr -----β [32m[32mCreated new worktree for [1mfeature-with-base[22m from [1mmain[22m at [1m[REPO].feature-with-base[39m[22m[39m-π‘ [2m[2mRun `wt config shell install` to enable automatic cd[22m[22m+π‘ [2mRun `wt config shell install` to enable automatic cd[22m