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