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
|
||||
_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' \
|
||||
|
||||
Reference in New Issue
Block a user