support/zsh/_now
#compdef now
_now() {
local -a commands
commands=("${(@f)$(now describe zsh)}")
# ... OR ...
# commands=(
# 'active:Print the active task. Exit 1 if there is none.'
# 'next:Display the next task.'
# ...
# )
if (( CURRENT == 2 )); then
_describe -t commands 'commands' commands
fi
return 0
}
_now