#compdef taskwarrior-tui autoload -U is-at-least _taskwarrior-tui() { typeset -A opt_args typeset -a _arguments_options local ret=1 if is-at-least 5.2; then _arguments_options=(-s -S -C) else _arguments_options=(-s -C) fi local context curcontext="$curcontext" state line _arguments "${_arguments_options[@]}" \ '-d+[Sets the data folder for taskwarrior-tui]:FOLDER: ' \ '--data=[Sets the data folder for taskwarrior-tui]:FOLDER: ' \ '-c+[Sets the config folder for taskwarrior-tui (currently not used)]:FOLDER: ' \ '--config=[Sets the config folder for taskwarrior-tui (currently not used)]:FOLDER: ' \ '--taskdata=[Sets the .task folder using the TASKDATA environment variable for taskwarrior]:FOLDER: ' \ '--taskrc=[Sets the .taskrc file using the TASKRC environment variable for taskwarrior]:FILE: ' \ '-r+[Sets default report]:STRING: ' \ '--report=[Sets default report]:STRING: ' \ '-h[Print help information]' \ '--help[Print help information]' \ '-V[Print version information]' \ '--version[Print version information]' \ && ret=0 } (( $+functions[_taskwarrior-tui_commands] )) || _taskwarrior-tui_commands() { local commands; commands=() _describe -t commands 'taskwarrior-tui commands' commands "$@" } _taskwarrior-tui "$@"