TW-1729: zsh completion: Fix edge case with empty database
This commit is contained in:
committed by
Paul Beckingham
parent
ce03d38c7d
commit
5db328f95c
@@ -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' \
|
||||||
|
|||||||
Reference in New Issue
Block a user