From 736bb327bea1c45b7b83f8ca2030bf7ef08ac315 Mon Sep 17 00:00:00 2001 From: Tim Malich Date: Fri, 14 Aug 2020 17:11:24 +0200 Subject: [PATCH] Update task.bash splitted awk on :. After that came the description (at least in my task version: 2.8.1) --- completion/task.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/task.bash b/completion/task.bash index 88820076a0..8106f84832 100644 --- a/completion/task.bash +++ b/completion/task.bash @@ -6,7 +6,7 @@ _task_completion() # Remove colon from work breaks COMP_WORDBREAKS=${COMP_WORDBREAKS//:} - scripts=$(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }'); + scripts=$(task -l | sed '1d' | sed 's/^\* //' | awk -F ': ' '{ print $1 }'); curr_arg="${COMP_WORDS[COMP_CWORD]:-"."}"