mirror of
https://github.com/go-task/task.git
synced 2025-12-25 07:59:28 +01:00
Merge pull request #298 from thejray/master
Remove trailing colon from task listing
This commit is contained in:
@@ -6,7 +6,7 @@ _task_completion()
|
||||
# Remove colon from word breaks
|
||||
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
|
||||
|
||||
scripts=$(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }');
|
||||
scripts=$(task -l | sed '1d' | awk '{ print $2 }' | sed 's/:$//');
|
||||
|
||||
curr_arg="${COMP_WORDS[COMP_CWORD]:-"."}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user