update completions

This commit is contained in:
Daylin Morgan 2022-08-13 13:27:02 -05:00
parent 0d8d7972b2
commit 429f928930
2 changed files with 2 additions and 2 deletions

View file

@ -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" )

View file

@ -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