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
|
||||
_regex_words values 'task IDs' $_task_zshids
|
||||
task_zshids=("$reply[@]")
|
||||
if (( $#_task_zshids )); then
|
||||
_regex_words values 'task IDs' $_task_zshids
|
||||
task_zshids=("$reply[@]")
|
||||
fi
|
||||
|
||||
_regex_words values 'task frequencies' \
|
||||
'daily:Every day' \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue