-__youtube_dl()
+__yt_dlp()
{
local cur prev opts fileopts diropts keywords
COMPREPLY=()
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="{{flags}}"
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"
if [[ ${prev} =~ ${fileopts} ]]; then
fi
}
-complete -F __youtube_dl youtube-dl
+complete -F __yt_dlp yt-dlp