summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-26 22:21:34 +0200
committerPaul Buetow <paul@buetow.org>2026-03-26 22:21:34 +0200
commit9dc8c5e241af77fd61c1da91e0fe49faa5cf06e4 (patch)
tree72388ce9cf8301184aea0841ca9b8e980b06e2a8 /assets
parentf6436fe4cfdd989d95607931314a7c47147ee1e2 (diff)
ask: filter fish UUID completion
Diffstat (limited to 'assets')
-rw-r--r--assets/ask.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/ask.fish b/assets/ask.fish
index 6c5f904..68fcf9f 100644
--- a/assets/ask.fish
+++ b/assets/ask.fish
@@ -92,7 +92,7 @@ function __ask_in_dep_uuid_context
end
function __ask_task_uuids
- command ask all --json 2>/dev/null | string match -r -a -g '"uuid":"([^"]+)"'
+ command ask all --json 2>/dev/null | jq -r '.[] | select(.status != "completed" and .status != "deleted") | .uuid' 2>/dev/null
end
complete -c ask -f