From dcdf7127e0c2299797889d748010ffcb5435db75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Fri, 8 Nov 2019 16:38:06 +0100 Subject: [PATCH] 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 --- scripts/zsh/_task | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zsh/_task b/scripts/zsh/_task index 61b6df24c..e0fea179a 100644 --- a/scripts/zsh/_task +++ b/scripts/zsh/_task @@ -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))