update completions
This commit is contained in:
parent
0d8d7972b2
commit
429f928930
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ function __task_list() {
|
||||||
(( enabled )) || return 0
|
(( enabled )) || return 0
|
||||||
|
|
||||||
scripts=()
|
scripts=()
|
||||||
for item in "${(@)${(f)$("${cmd[@]}" --list)}[2,-1]#\* }"; do
|
for item in "${(@)${(f)$("${cmd[@]}" --list-all)}[2,-1]#\* }"; do
|
||||||
task="${item%%:[[:space:]]*}"
|
task="${item%%:[[:space:]]*}"
|
||||||
desc="${item##[^[:space:]]##[[:space:]]##}"
|
desc="${item##[^[:space:]]##[[:space:]]##}"
|
||||||
scripts+=( "${task//:/\\:}:$desc" )
|
scripts+=( "${task//:/\\:}:$desc" )
|
||||||
|
|
|
@ -16,4 +16,4 @@ gen just --completions zsh
|
||||||
gen zellij setup --generate-completion zsh
|
gen zellij setup --generate-completion zsh
|
||||||
|
|
||||||
echo "FETCHING COMPLETION SCRIPTS"
|
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
|
||||||
|
|
Loading…
Reference in a new issue