Autocompletion works when you use zsh and oh-my-zsh. Create the following file in your oh-my-zsh directory
~/.oh-my-zsh/completions/_task.zsh:
#compdef task_task() {local -a commandslocal tasks=$(task comp_targets)while IFS= read -r line; doif [[ -n "$line" ]]; thencommands+=("$line")fidone <<< "$tasks"_describe -t commands 'task commands' commands}_task "$@"
Now after running task shorthand, your task commands will get autocompleted.