Correctly parse projects with spaces in zsh completion

This is the same as how the `_task_zshids` array is created.
See https://github.com/robbyrussell/oh-my-zsh/issues/8249
This commit is contained in:
Marc Cornellà 2019-11-08 16:38:06 +01:00 committed by Paul Beckingham
parent 938e9130d6
commit dcdf7127e0

View file

@ -24,7 +24,7 @@
# https://www.opensource.org/licenses/mit-license.php
#
typeset -g _task_cmds _task_projects _task_tags _task_config _task_modifiers
_task_projects=($(task _projects))
_task_projects=(${(f)"$(task _projects)"})
_task_tags=($(task _tags))
_task_zshids=( ${(f)"$(task _zshids)"} )
_task_config=($(task _config))