Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Clarify restart shell hint for different shells
Maximilian Roose3c173d0fe08
diff --git a/src/main.rs b/src/main.rsindex 856651166..2c3d1d5e7 100644--- a/src/main.rs+++ b/src/main.rs@@ -362,13 +362,14 @@ fn main() {}// Restart hint: only shown if the current shell's extension changed- // (completions are auto-sourced or sourced separately, no restart needed)+ // Fish completions are lazily loaded from ~/.config/fish/completions/+ // so no restart needed. Bash/Zsh completions are inline in the init script.if shells_configured_count > 0 {let current_shell = std::env::var("SHELL").ok().and_then(|s| s.rsplit('/').next().map(String::from));- // Find if current shell had its extension changed (not just completions)+ // Find if current shell had its extension changedlet current_shell_result =current_shell.as_ref().and_then(|shell_name| {scan_result