"Fossies" - the Fresh Open Source Software Archive

Member "buku-4.4/auto-completion/zsh/_buku" (15 Jun 2020, 2484 Bytes) of package /linux/privat/buku-4.4.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "_buku": 4.3_vs_4.4.

    1 #compdef buku
    2 #
    3 # Completion definition for buku.
    4 #
    5 # Author:
    6 #   Arun Prakash Jana <engineerarun@gmail.com>
    7 #
    8 
    9 setopt localoptions noshwordsplit noksharrays
   10 local -a args
   11 args=(
   12     '(-a --add)'{-a,--add}'[add bookmark]:URL tags'
   13     '(--ai)--ai[auto-import bookmarks]'
   14     '(-c --comment)'{-c,--comment}'[comment on bookmark]'
   15     '(--cached)--cached[visit Wayback Machine cached version]:index/url'
   16     '(--colors)--colors[set output colors in 5-letter string]:color string'
   17     '(-d --delete)'{-d,--delete}'[delete bookmark]'
   18     '(--deep)--deep[search matching substrings]'
   19     '(-e --export)'{-e,--export}'[export bookmarks]:html/md/db output file'
   20     '(--expand)--expand[expand a tny.im shortened URL]:index/shorturl'
   21     '(-f --format)'{-f,--format}'[limit fields in print and JSON output]:value'
   22     '(-h --help)'{-h,--help}'[show help]'
   23     '(-i --import)'{-i,--import}'[import bookmarks]:html/md/db input file'
   24     '(--immutable)--immutable[disable title update from web]:value'
   25     '(-j --json)'{-j,--json}'[show JSON output for print and search]:file'
   26     '(-k --unlock)'{-k,--unlock}'[decrypt database]'
   27     '(-l --lock)'{-l,--lock}'[encrypt database]'
   28     '(-n --count)'{-n,--count}'[results per page]:value'
   29     '(--nc)--nc[disable color output]'
   30     '(--np)--np[noninteractive mode]'
   31     '(-o --open)'{-o,--open}'[open bookmarks in browser]'
   32     '(--oa)--oa[browse all search results immediately]'
   33     '(-p --print)'{-p,--print}'[show bookmark details]'
   34     '(-r --sreg)'{-r,--sreg}'[match a regular exression]:regex'
   35     '(--replace)--replace[replace a tag]:tag to replace'
   36     '(-s --sany)'{-s,--sany}'[match any keyword]:keyword(s)'
   37     '(-s --sall)'{-s,--sall}'[match all keywords]:keyword(s)'
   38     '(--shorten)--shorten[shorten a URL using tny.im]:index/url'
   39     '(--suggest)--suggest[show a list of similar tags]'
   40     '(-t --stag)'{-t,--stag}'[search by tag or show tags]'
   41     '(--tacit)--tacit[reduce verbosity]'
   42     '(--tag)--tag[set tags, use + to append, - to remove]'
   43     '(--threads)--threads[max connections for full refresh]:value'
   44     '(--title)--title[set custom title]'
   45     '(-u --update)'{-u,--update}'[update bookmark]'
   46     '(--url)--url[set url]:url'
   47     '(-V)-V[check latest upstream release]'
   48     '(-v --version)'{-v,--version}'[show program version]'
   49     '(-w --write)'{-w,--write}'[open editor]'
   50     '(-x --exclude)'{-x,--exclude}'[exclude keywords]:keyword(s)'
   51     '(-z --debug)'{-z,--debug}'[enable debugging mode]'
   52 )
   53 _arguments -S -s $args