diff options
Diffstat (limited to 'community/go-task/completion-rename-to-go-task.patch')
-rw-r--r-- | community/go-task/completion-rename-to-go-task.patch | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/community/go-task/completion-rename-to-go-task.patch b/community/go-task/completion-rename-to-go-task.patch index e62b3891f36..13337b87346 100644 --- a/community/go-task/completion-rename-to-go-task.patch +++ b/community/go-task/completion-rename-to-go-task.patch @@ -1,17 +1,11 @@ -diff --git a/completion/bash/task.bash b/completion/bash/task.bash -index 46e3a45..34335b2 100644 --- a/completion/bash/task.bash +++ b/completion/bash/task.bash -@@ -1,6 +1,6 @@ - #!/bin/bash +@@ -52,4 +52,4 @@ + __ltrim_colon_completions "$cur" + } --GO_TASK_PROGNAME=task -+GO_TASK_PROGNAME=go-task - - _go_task_completion() - { -diff --git a/completion/fish/task.fish b/completion/fish/task.fish -index e0d9c05..727d7f4 100644 +-complete -F _task task ++complete -F _task go-task --- a/completion/fish/task.fish +++ b/completion/fish/task.fish @@ -1,4 +1,4 @@ @@ -19,12 +13,10 @@ index e0d9c05..727d7f4 100644 +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 + # Read the list of tasks (and potential errors) --- a/completion/zsh/_task +++ b/completion/zsh/_task -@@ -9,7 +9,7 @@ function __task_list() { +@@ -11,7 +11,7 @@ local -i enabled=0 local taskfile item task desc |