mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-24 10:02:52 +08:00
[bash-completion] Complete the ':ythistory' keyword
This commit is contained in:
parent
c1f9c59d11
commit
5f09bbff4d
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user