|
|
@ -6,7 +6,7 @@ __youtube_dl()
|
|
|
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
|
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
|
|
opts="{{flags}}"
|
|
|
|
opts="{{flags}}"
|
|
|
|
keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"
|
|
|
|
keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"
|
|
|
|
fileopts="-a|--batch-file|--download-archive|--cookies"
|
|
|
|
fileopts="-a|--batch-file|--download-archive|--cookies|--load-info"
|
|
|
|
diropts="--cache-dir"
|
|
|
|
diropts="--cache-dir"
|
|
|
|
|
|
|
|
|
|
|
|
if [[ ${prev} =~ ${fileopts} ]]; then
|
|
|
|
if [[ ${prev} =~ ${fileopts} ]]; then
|
|
|
|