mirror of
https://github.com/go-task/task.git
synced 2025-01-14 04:35:50 +02:00
Merge pull request #347 from ronvanderheijden/master
Completion file honors includes
This commit is contained in:
commit
7dcb3af944
@ -5,7 +5,7 @@ function __list() {
|
||||
local -a scripts
|
||||
|
||||
if [ -f Taskfile.yml ]; then
|
||||
scripts=($(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }' | sed 's/:$//' | sed 's/:/\\:/'))
|
||||
scripts=($(task -l | sed '1d' | sed 's/^\* //' | awk '{ print $1 }' | sed 's/:$//' | sed 's/:/\\:/g'))
|
||||
_describe 'script' scripts
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user