mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
Use --list-all to PowerShell completion + Add CHANGELOG to #803
This commit is contained in:
@@ -3,7 +3,7 @@ $scriptBlock = {
|
||||
$curReg = "task{.exe}? (.*?)$"
|
||||
$startsWith = $wordToComplete | Select-String $curReg -AllMatches | ForEach-Object { $_.Matches.Groups[1].Value }
|
||||
$reg = "\* ($startsWith.+?):"
|
||||
$listOutput = $(task -l)
|
||||
$listOutput = $(task --list-all)
|
||||
$listOutput | Select-String $reg -AllMatches | ForEach-Object { $_.Matches.Groups[1].Value + " " }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user