Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Feat: Add branch completion for `remove` command
Maximilian Roos6e6c66e82f6a
diff --git a/templates/fish.fish b/templates/fish.fishindex 90dafbdd7..64e0b723b 100644--- a/templates/fish.fish+++ b/templates/fish.fish@@ -113,4 +113,5 @@ if type -q {{ cmd_prefix }}complete -c {{ cmd_prefix }} -n '__fish_seen_subcommand_from switch' -f -a '(__{{ cmd_prefix }}_complete)' -d 'Branch'complete -c {{ cmd_prefix }} -n '__fish_seen_subcommand_from push' -f -a '(__{{ cmd_prefix }}_complete)' -d 'Target branch'complete -c {{ cmd_prefix }} -n '__fish_seen_subcommand_from merge' -f -a '(__{{ cmd_prefix }}_complete)' -d 'Target branch'+ complete -c {{ cmd_prefix }} -n '__fish_seen_subcommand_from remove' -f -a '(__{{ cmd_prefix }}_complete)' -d 'Branch to remove'enddiff --git a/tests/snapshots/integration__integration_tests__init__init_fish.snap b/tests/snapshots/integration__integration_tests__init__init_fish.snapindex 200ae95be..c1b950720 100644--- a/tests/snapshots/integration__integration_tests__init__init_fish.snap+++ b/tests/snapshots/integration__integration_tests__init__init_fish.snap@@ -134,6 +134,7 @@ if type -q wtcomplete -c wt -n '__fish_seen_subcommand_from switch' -f -a '(__wt_complete)' -d 'Branch'complete -c wt -n '__fish_seen_subcommand_from push' -f -a '(__wt_complete)' -d 'Target branch'complete -c wt -n '__fish_seen_subcommand_from merge' -f -a '(__wt_complete)' -d 'Target branch'+ complete -c wt -n '__fish_seen_subcommand_from remove' -f -a '(__wt_complete)' -d 'Branch to remove'end# Static completions (commands and flags)