mirror of
https://github.com/go-task/task.git
synced 2025-03-19 21:17:46 +02:00
Don't let grep treat the search pattern as an option
This commit is contained in:
parent
ad05432bcf
commit
aae38f8ce7
@ -15,7 +15,7 @@ _task_completion()
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
COMPREPLY=($(compgen -c | echo "$scripts" | grep $curr_arg));
|
COMPREPLY=($(compgen -c | echo "$scripts" | grep -- $curr_arg));
|
||||||
}
|
}
|
||||||
|
|
||||||
complete -F _task_completion task
|
complete -F _task_completion task
|
||||||
|
Loading…
x
Reference in New Issue
Block a user