Skip to content

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

feat(config): add diagnostic info to wt config show for debugging (#683)

Maximilian Roosdb9d87d64be4
diff --git a/src/commands/config.rs b/src/commands/config.rs
index 9c46b4eb3..db61aea51 100644
--- a/src/commands/config.rs
+++ b/src/commands/config.rs
@@ -506,7 +506,24 @@ fn render_shell_status(out: &mut String) -> anyhow::Result<()> {
// Show invocation details to help diagnose
let invocation = crate::invocation_path();
let is_git_subcommand = crate::is_git_subcommand();
- let mut debug_lines = vec![cformat!("Binary invoked as: <bold>{invocation}</>")];
+ let mut debug_lines = vec![cformat!("Invoked as: <bold>{invocation}</>")];
+
+ // Show actual binary path if different from invocation (helps detect wrong wt in PATH)
+ if let Ok(exe_path) = std::env::current_exe() {
+ let exe_display = format_path_for_display(&exe_path);
+ // Only show if meaningfully different (not just ./ prefix differences)
+ let invocation_canonical = std::fs::canonicalize(&invocation).ok();
+ let exe_canonical = std::fs::canonicalize(&exe_path).ok();
+ if invocation_canonical != exe_canonical {
+ debug_lines.push(cformat!("Running from: <bold>{exe_display}</>"));
+ }
+ }
+
+ // Show $SHELL to help diagnose rc file sourcing issues
+ if let Ok(shell_env) = std::env::var("SHELL") {
+ debug_lines.push(cformat!("$SHELL: <bold>{shell_env}</>"));
+ }
+
if is_git_subcommand {
debug_lines.push("Git subcommand: yes (GIT_EXEC_PATH set)".to_string());
}
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 600ae0d7b..6cd901b03 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -642,6 +642,9 @@ pub fn configure_cli_command(cmd: &mut Command) {
// Note: env_remove above may cause insta-cmd to capture empty values in snapshots,
// but correctness (isolating from host WORKTRUNK_* vars) trumps snapshot aesthetics.
cmd.env("WORKTRUNK_CONFIG_PATH", "/nonexistent/test/config.toml");
+ // Remove $SHELL to avoid platform-dependent diagnostic output (macOS has /bin/zsh,
+ // Linux has /bin/bash). Tests that need SHELL should set it explicitly.
+ cmd.env_remove("SHELL");
cmd.env("CLICOLOR_FORCE", "1");
cmd.env("SOURCE_DATE_EPOCH", TEST_EPOCH.to_string());
// Use wide terminal to prevent wrapping differences across platforms.
@@ -2004,6 +2007,8 @@ pub fn add_standard_env_redactions(settings: &mut insta::Settings) {
// Windows: etcetera uses APPDATA for config_dir()
settings.add_redaction(".env.APPDATA", "[TEST_CONFIG_HOME]");
settings.add_redaction(".env.PATH", "[PATH]");
+ // Mock commands directory (temp path for mock gh/glab binaries)
+ settings.add_redaction(".env.MOCK_CONFIG_DIR", "[MOCK_CONFIG_DIR]");
}
/// Create configured insta Settings for snapshot tests
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 5138a0c09..7d6e73e47 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 8be9752fd..c72033e77 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 7fc55c5e8..2268d61ae 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
@@ -19,8 +19,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -45,7 +47,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 9fb483add..fdcf1727a 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
@@ -19,8 +19,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -41,7 +43,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 14bd91d42..fdc404ddd 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 14bd91d42..fdc404ddd 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 fb55e68be..5d1fe58d2 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -46,7 +48,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 1d557724e..4213d1955 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -46,7 +48,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 14bd91d42..fdc404ddd 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 7446c468c..c5ff96d13 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 655e3697f..27cce4cf0 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
@@ -11,8 +11,10 @@ info:
COLUMNS: "500"
GIT_EDITOR: ""
HOME: "[TEST_HOME]"
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -32,7 +34,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 e44a33d63..f07098939 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -41,7 +43,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
↳ Not configured shell extension & completions for bash
○ Already configured shell extension & completions for zsh @ ~/.zshrc:2
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 01823061c..624895a74 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 053bbcf2c..4d7948508 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -41,7 +43,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
↳ Not configured shell extension & completions for bash
○ Skipped zsh; ~/.zshrc not found
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 52f59eb4d..cbd73bd64 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -42,7 +44,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 867493d7a..b12ec4487 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -44,7 +46,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 8be9752fd..c72033e77 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -40,7 +42,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 5a0786779..c3b120a77 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -46,7 +48,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
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 ba7370962..fbd00e7be 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -41,7 +43,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Already configured shell extension & completions for zsh @ ~/.zshrc:5
  if command -v wt >/dev/null 2>&1; then eval "$(command wt config shell init zsh)"; fi
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 2221994cb..e98b97ee6 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
@@ -18,8 +18,10 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
+ SHELL: ""
SOURCE_DATE_EPOCH: "1735776000"
TERM: alacritty
USERPROFILE: "[TEST_HOME]"
@@ -41,7 +43,7 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
○ Already configured shell extension & completions for zsh @ ~/.zshrc:2
  if command -v wt >/dev/null 2>&1; then eval "$(command wt config shell init zsh)"; fi
diff --git a/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap b/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap
index 89381bc4d..a34e52ddd 100644
--- a/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap
+++ b/tests/snapshots/integration__integration_tests__configure_shell__config_show_detects_fish_legacy_conf_d.snap
@@ -18,6 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SHELL: /bin/fish
@@ -41,7 +42,8 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
+  $SHELL: /bin/fish
○ Skipped bash; ~/.bashrc not found
○ Skipped zsh; ~/.zshrc not found
diff --git a/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap b/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap
index 2c0717984..36628a3fe 100644
--- a/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap
+++ b/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap
@@ -18,6 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SHELL: /bin/fish
@@ -41,7 +42,8 @@ exit_code: 0
SHELL INTEGRATION
▲ Shell integration not active
-  Binary invoked as: [PROJECT_ROOT]/target/debug/wt
+  Invoked as: [PROJECT_ROOT]/target/debug/wt
+  $SHELL: /bin/fish
○ Fish integration found in deprecated location @ ~/.config/fish/conf.d/wt.fish
↳ To migrate to ~/.config/fish/functions/wt.fish, run wt config shell install fish
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_by_name_dirty_target.snap b/tests/snapshots/integration__integration_tests__remove__remove_by_name_dirty_target.snap
index 58760d1b9..87a082f0d 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_by_name_dirty_target.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_by_name_dirty_target.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpFvoLMc/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_force_with_force_delete.snap b/tests/snapshots/integration__integration_tests__remove__remove_force_with_force_delete.snap
index 81db046a6..0a7a30ba5 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_force_with_force_delete.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_force_with_force_delete.snap
@@ -20,7 +20,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp22EH0v/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_force_with_modified_files.snap b/tests/snapshots/integration__integration_tests__remove__remove_force_with_modified_files.snap
index 3c30b06f4..61555745d 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_force_with_modified_files.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_force_with_modified_files.snap
@@ -19,7 +19,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpZBmXa4/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_force_with_staged_files.snap b/tests/snapshots/integration__integration_tests__remove__remove_force_with_staged_files.snap
index 2a7a31d4b..46c719e47 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_force_with_staged_files.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_force_with_staged_files.snap
@@ -19,7 +19,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpikz508/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__remove__remove_force_with_untracked_files.snap b/tests/snapshots/integration__integration_tests__remove__remove_force_with_untracked_files.snap
index bd5e51c55..29e25fdde 100644
--- a/tests/snapshots/integration__integration_tests__remove__remove_force_with_untracked_files.snap
+++ b/tests/snapshots/integration__integration_tests__remove__remove_force_with_untracked_files.snap
@@ -19,7 +19,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmppcKJg1/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_dwim_from_remote.snap b/tests/snapshots/integration__integration_tests__switch__switch_dwim_from_remote.snap
index bcb201bee..28ac101a0 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_dwim_from_remote.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_dwim_from_remote.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpk2rrMV/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_missing.snap b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_missing.snap
index e6619e1a0..efc4cdd7f 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_missing.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_error_path_occupied_missing.snap
@@ -19,7 +19,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpons9bk/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_existing_local_with_upstream.snap b/tests/snapshots/integration__integration_tests__switch__switch_existing_local_with_upstream.snap
index bca237fce..e46533de7 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_existing_local_with_upstream.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_existing_local_with_upstream.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmptQDDmu/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_base_conflict.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_base_conflict.snap
index 41cb56503..709acd1e1 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_base_conflict.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_base_conflict.snap
@@ -20,7 +20,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUkPMaC/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_create_conflict.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_create_conflict.snap
index a3667f3ce..04ff51219 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_create_conflict.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_create_conflict.snap
@@ -19,7 +19,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp4ZpO8c/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_empty_branch.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_empty_branch.snap
index da81e9365..f903be630 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_empty_branch.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_empty_branch.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpaZU3Am/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork.snap
index 79f9c4c28..0f305d4fc 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp21Mo4b/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_different_pr.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_different_pr.snap
index 91c8e1997..05ba0b7d0 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_different_pr.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_different_pr.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp3ZvcLv/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_no_tracking.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_no_tracking.snap
index 9cf5d137c..05ba0b7d0 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_no_tracking.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_no_tracking.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpmUEy2n/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_same_pr.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_same_pr.snap
index e06b31926..e419f5934 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_same_pr.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_fork_existing_same_pr.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpTYfCXg/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_invalid_json.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_invalid_json.snap
index 63bd0a1c3..1a4318291 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_invalid_json.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_invalid_json.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpRh8Dpz/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_network_error.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_network_error.snap
index 4d7ad5c85..7a8a035ef 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_network_error.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_network_error.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpt5UXqw/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_not_authenticated.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_not_authenticated.snap
index 3f365086b..26c1a202b 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_not_authenticated.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_not_authenticated.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpqAg3i9/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_not_found.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_not_found.snap
index 87f102d40..8d31207e0 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_not_found.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_not_found.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUbK6oP/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_rate_limit.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_rate_limit.snap
index 657980377..fcf97fa2f 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_rate_limit.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_rate_limit.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUBbBov/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_same_repo.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_same_repo.snap
index d41a93377..6e1ccd86d 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_same_repo.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_same_repo.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpWBoesk/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"
diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_unknown_error.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_unknown_error.snap
index feaacebbe..7c8e51e3b 100644
--- a/tests/snapshots/integration__integration_tests__switch__switch_pr_unknown_error.snap
+++ b/tests/snapshots/integration__integration_tests__switch__switch_pr_unknown_error.snap
@@ -18,7 +18,7 @@ info:
HOME: "[TEST_HOME]"
LANG: C
LC_ALL: C
- MOCK_CONFIG_DIR: /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpN24ynF/repo/mock-bin
+ MOCK_CONFIG_DIR: "[MOCK_CONFIG_DIR]"
PATH: "[PATH]"
RUST_LOG: warn
SOURCE_DATE_EPOCH: "1735776000"