From 10986d3a7c4aab26134de5cf31caf64bd2ce3311 Mon Sep 17 00:00:00 2001 From: Ron van der Heijden Date: Sat, 13 Jun 2020 17:01:14 +0200 Subject: [PATCH] Accept : multiple times --- completion/zsh/_task | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/zsh/_task b/completion/zsh/_task index f2bd81de..48777e4b 100755 --- a/completion/zsh/_task +++ b/completion/zsh/_task @@ -5,7 +5,7 @@ function __list() { local -a scripts if [ -f Taskfile.yml ]; then - scripts=($(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }' | sed 's/:$//' | sed 's/:/\\:/')) + scripts=($(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }' | sed 's/:$//' | sed 's/:/\\:/g')) _describe 'script' scripts fi }