aboutsummaryrefslogtreecommitdiffstats
path: root/community/go-task/completion-rename-to-go-task.patch
blob: 9ac152e751c9103638ac378930b76e71e5a226a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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