Skip to content

A feature-rich command-line audio/video downloader

[bash-completion] Complete the ':ythistory' keyword

Jaime Marquínez Ferrándiz5f09bbff4df9
diff --git a/devscripts/bash-completion.in b/devscripts/bash-completion.in
index cc469366d1..3af87a3783 100644
--- a/devscripts/bash-completion.in
+++ b/devscripts/bash-completion.in
@@ -1,11 +1,11 @@
__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"
+ keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"
fileopts="-a|--batch-file|--download-archive|--cookies"
diropts="--cache-dir"