1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/community/go-task/completion-rename-to-go-task.patch
2025-04-26 19:52:27 +00:00

30 lines
985 B
Diff

diff --git a/completion/bash/task.bash b/completion/bash/task.bash
index de93e4c..7dd86b4 100644
--- a/completion/bash/task.bash
+++ b/completion/bash/task.bash
@@ -53,3 +53,4 @@ function _task()
}
complete -F _task task
+complete -F _task go-task
diff --git a/completion/fish/task.fish b/completion/fish/task.fish
index e8640fe..91881fb 100644
--- a/completion/fish/task.fish
+++ b/completion/fish/task.fish
@@ -1,4 +1,4 @@
-set -l GO_TASK_PROGNAME task
+set -l GO_TASK_PROGNAME go-task
function __task_get_tasks --description "Prints all available tasks with their description" --inherit-variable GO_TASK_PROGNAME
# Check if the global task is requested
diff --git a/completion/zsh/_task b/completion/zsh/_task
index ddb888d..7989170 100755
--- a/completion/zsh/_task
+++ b/completion/zsh/_task
@@ -1,5 +1,6 @@
#compdef task
compdef _task task
+compdef _task go-task
typeset -A opt_args
_GO_TASK_COMPLETION_LIST_OPTION="${GO_TASK_COMPLETION_LIST_OPTION:---list-all}"