mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #1045
- Fixed bug where zsh completion did not work for aliases (see #1043).
This commit is contained in:
parent
ff1cc85d38
commit
5db7b6c290
1 changed files with 5 additions and 2 deletions
|
@ -50,12 +50,14 @@ _task_conjunctions=(
|
|||
'and' \
|
||||
'or' \
|
||||
'xor' \
|
||||
'\)'
|
||||
'\)' \
|
||||
'\('
|
||||
)
|
||||
_task_cmds=($(task _commands))
|
||||
_task_cmds=($(task _commands; task _aliases))
|
||||
_task_zshcmds=( ${(f)"$(task _zshcommands)"} )
|
||||
|
||||
_task_aliases=($(task _aliases))
|
||||
|
||||
_task() {
|
||||
_arguments -s -S \
|
||||
"*::task default:_task_default"
|
||||
|
@ -242,6 +244,7 @@ _task_default() {
|
|||
|
||||
_describe -t commands 'task command' _task_zshcmds
|
||||
_describe -t values 'task IDs' _task_zshids
|
||||
_describe -t aliases 'task aliases' _task_aliases
|
||||
_call_function ret _task_filter
|
||||
|
||||
return ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue