From 429f928930a3ed5dfc472bec325b050fae11f112 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sat, 13 Aug 2022 13:27:02 -0500 Subject: [PATCH] update completions --- lib/completions/_task | 2 +- lib/completions/update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/completions/_task b/lib/completions/_task index b3dd56d..c36a209 100755 --- a/lib/completions/_task +++ b/lib/completions/_task @@ -27,7 +27,7 @@ function __task_list() { (( enabled )) || return 0 scripts=() - for item in "${(@)${(f)$("${cmd[@]}" --list)}[2,-1]#\* }"; do + for item in "${(@)${(f)$("${cmd[@]}" --list-all)}[2,-1]#\* }"; do task="${item%%:[[:space:]]*}" desc="${item##[^[:space:]]##[[:space:]]##}" scripts+=( "${task//:/\\:}:$desc" ) diff --git a/lib/completions/update.sh b/lib/completions/update.sh index d61e6fe..883cef9 100755 --- a/lib/completions/update.sh +++ b/lib/completions/update.sh @@ -16,4 +16,4 @@ gen just --completions zsh gen zellij setup --generate-completion zsh echo "FETCHING COMPLETION SCRIPTS" -wget https://raw.githubusercontent.com/go-task/task/master/completion/zsh/_task +wget -O _task https://raw.githubusercontent.com/go-task/task/master/completion/zsh/_task