#compdef rsync _arguments -- '*=COMMAND*:command:_command' \ '*=FILE*:file:_files' \ '*=DIR*:directory:_files -/'