Add --cached to completion scripts

This commit is contained in:
Arun Prakash Jana 2018-05-27 20:15:37 +05:30
parent 50ca5b85d9
commit fed311d494
No known key found for this signature in database
GPG Key ID: A75979F35C080412
3 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,7 @@ _buku () {
-a --add
--ai
-c --comment
--cached
--colors
-d --delete
--deep
@ -52,6 +53,7 @@ _buku () {
)
opts_with_arg=(
-a --add
--cached
--colors
-e --export
--expand

View File

@ -7,6 +7,7 @@
complete -c buku -s a -l add -r --description 'add bookmark'
complete -c buku -l ai --description 'auto-import bookmarks'
complete -c buku -s c -l comment --description 'comment on bookmark'
complete -c buku -l cached -r --description 'visit wayback machine cached version'
complete -c buku -l colors -r --description 'set output colors in 5-letter string'
complete -c buku -s d -l delete --description 'delete bookmark'
complete -c buku -l deep --description 'search matching substrings'

View File

@ -12,6 +12,7 @@ args=(
'(-a --add)'{-a,--add}'[add bookmark]:URL tags'
'(--ai)--ai[auto-import bookmarks]'
'(-c --comment)'{-c,--comment}'[comment on bookmark]'
'(--cached)--cached[visit wayback machine cached version]:index/url'
'(--colors)--colors[set output colors in 5-letter string]:color string'
'(-d --delete)'{-d,--delete}'[delete bookmark]'
'(--deep)--deep[search matching substrings]'