diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-08 10:17:56 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-08 10:17:56 +0300 |
| commit | 66811bb5c21fa674b19767f34ff7d27004f838b4 (patch) | |
| tree | 1535208ed3fe4ad3a0d30520d00ee1f3f015f77e /integrationtests | |
| parent | 385278639394e3672bce678b49e51f14ac72638c (diff) | |
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
Diffstat (limited to 'integrationtests')
| -rw-r--r-- | integrationtests/do_scope_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrationtests/do_scope_test.go b/integrationtests/do_scope_test.go index f24f5ca..c87c67c 100644 --- a/integrationtests/do_scope_test.go +++ b/integrationtests/do_scope_test.go @@ -77,7 +77,7 @@ func hasTag(tags []string, want string) bool { // hasSelectorLine reports whether any line in output starts with want followed // by a tab or end-of-line. This handles the "selector\tdescription" format -// emitted by complete-uuids for fish shell autocompletion. +// emitted by complete-uuids / complete-aliases (tab-separated selector lines). func hasSelectorLine(output, want string) bool { for _, line := range strings.Split(strings.TrimSpace(output), "\n") { line = strings.TrimSpace(line) |
