Skip to content

Commit e0defe7

Browse files
authored
Merge pull request #298 from thejray/master
Remove trailing colon from task listing
2 parents 347ecc0 + 0692571 commit e0defe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completion/bash/task.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _task_completion()
66
# Remove colon from word breaks
77
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
88

9-
scripts=$(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }');
9+
scripts=$(task -l | sed '1d' | awk '{ print $2 }' | sed 's/:$//');
1010

1111
curr_arg="${COMP_WORDS[COMP_CWORD]:-"."}"
1212

0 commit comments

Comments
 (0)