1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/go-task/completion-rename-to-go-task.patch
2022-09-09 05:33:43 +00:00

23 lines
816 B
Diff

diff --git a/completion/fish/task.fish b/completion/fish/task.fish
index e0d9c05..727d7f4 100644
--- a/completion/fish/task.fish
+++ b/completion/fish/task.fish
@@ -1,4 +1,4 @@
-set GO_TASK_PROGNAME task
+set GO_TASK_PROGNAME go-task
function __task_get_tasks --description "Prints all available tasks with their description"
set -l output ($GO_TASK_PROGNAME --list-all | sed '1d; s/\* \(.*\):\s*\(.*\)/\1\t\2/' | string split0)
diff --git a/completion/zsh/_task b/completion/zsh/_task
index b3dd56d..762cf88 100755
--- a/completion/zsh/_task
+++ b/completion/zsh/_task
@@ -9,7 +9,7 @@ function __task_list() {
local -i enabled=0
local taskfile item task desc
- cmd=(task)
+ cmd=(go-task)
taskfile="${(v)opt_args[(i)-t|--taskfile]}"
if [[ -n "$taskfile" && -f "$taskfile" ]]; then