diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
commit | 6d88f1055806932d9291f96847d2b691cccda2cd (patch) | |
tree | 0ff79eedaa8a239331256048981deedbd0721965 /completions/uscan | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/uscan')
-rw-r--r-- | completions/uscan | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/completions/uscan b/completions/uscan new file mode 100644 index 00000000..fc05d2e8 --- /dev/null +++ b/completions/uscan @@ -0,0 +1,39 @@ +# uscan completion -*- shell-script -*- + +_uscan() +{ + local cur prev split + _init_completion -s || return + + case $prev in + --package) + COMPREPLY=( $( _xfunc apt-cache _apt_cache_src_packages )) + return + ;; + --watchfile) + _filedir + return + ;; + --destdir) + _filedir -d + return + ;; + --timeout|--upstream-version|--download-version|--check-dirname-level|--check-dirname-regex) + COMPREPLY=( ) + return + ;; + esac + + $split && return + + COMPREPLY=( $( compgen -W ' --report --no-download --report-status + --download --destdir --force-download --pasv --no-pasv --symlink --rename + --repack --no-symlink --dehs --no-dehs --download-current-version --verbose + --no-verbose --debug --user-agent --useragent --no-conf --help + --version --timeout --package --upstream-version --watchfile + --download-version --check-dirname-level --check-dirname-regex + ' -- "$cur" ) ) +} && +complete -F _uscan uscan + +# ex: filetype=sh |