mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
Remove trailing colon from task listing
This commit is contained in:
@@ -6,7 +6,7 @@ _task_completion()
|
|||||||
# Remove colon from word breaks
|
# Remove colon from word breaks
|
||||||
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
|
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]:-"."}"
|
curr_arg="${COMP_WORDS[COMP_CWORD]:-"."}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user