|
|
@ -1,11 +1,11 @@
|
|
|
|
__youtube_dl()
|
|
|
|
__youtube_dl()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
local cur prev opts fileopts diropts
|
|
|
|
local cur prev opts fileopts diropts keywords
|
|
|
|
COMPREPLY=()
|
|
|
|
COMPREPLY=()
|
|
|
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
|
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
|
|
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
|
|
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
|
|
|
opts="{{flags}}"
|
|
|
|
opts="{{flags}}"
|
|
|
|
keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater"
|
|
|
|
keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"
|
|
|
|
fileopts="-a|--batch-file|--download-archive|--cookies"
|
|
|
|
fileopts="-a|--batch-file|--download-archive|--cookies"
|
|
|
|
diropts="--cache-dir"
|
|
|
|
diropts="--cache-dir"
|
|
|
|
|
|
|
|
|
|
|
|