From 66811bb5c21fa674b19767f34ff7d27004f838b4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 8 Apr 2026 10:17:56 +0300 Subject: fish: complete task selectors with short aliases only Add complete-aliases subcommand that emits tab-separated alias lines without UUID duplicates. Wire embedded Fish script (__do_task_selectors) to call complete-aliases; keep complete-uuids unchanged for scripts and tests. Made-with: Cursor --- internal/askcli/commands_registry.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/askcli/commands_registry.go') diff --git a/internal/askcli/commands_registry.go b/internal/askcli/commands_registry.go index 4d8d9ba..1c2e60d 100644 --- a/internal/askcli/commands_registry.go +++ b/internal/askcli/commands_registry.go @@ -204,4 +204,10 @@ func init() { handler: wrapSimpleCommand((*Dispatcher).handleCompleteUUIDs), includeInCompletion: false, }) + commandRegistry.add(commandEntry{ + name: "complete-aliases", + description: "Emit short task selector list for Fish completion", + handler: wrapSimpleCommand((*Dispatcher).handleCompleteAliases), + includeInCompletion: false, + }) } -- cgit v1.2.3