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