This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef youtube-dl | |
__youtube_dl() { | |
local curcontext="$curcontext" fileopts diropts cur prev | |
typeset -A opt_args | |
fileopts="-a|--batch-file|--download-archive|--cookies|--load-info" | |
diropts="--cache-dir" | |
cur=$words[CURRENT] | |
case $cur in | |
:) |
NewerOlder