mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1729: zsh completion: Fix edge case with empty database
This commit is contained in:
parent
ce03d38c7d
commit
5db328f95c
1 changed files with 4 additions and 2 deletions
|
@ -138,8 +138,10 @@ task_dates=(
|
||||||
)
|
)
|
||||||
|
|
||||||
local -a task_zshids
|
local -a task_zshids
|
||||||
_regex_words values 'task IDs' $_task_zshids
|
if (( $#_task_zshids )); then
|
||||||
task_zshids=("$reply[@]")
|
_regex_words values 'task IDs' $_task_zshids
|
||||||
|
task_zshids=("$reply[@]")
|
||||||
|
fi
|
||||||
|
|
||||||
_regex_words values 'task frequencies' \
|
_regex_words values 'task frequencies' \
|
||||||
'daily:Every day' \
|
'daily:Every day' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue