aboutsummaryrefslogtreecommitdiffstats
path: root/src/_dget
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2020-03-26 00:26:56 +0900
committerShohei YOSHIDA <syohex@gmail.com>2020-03-26 00:26:56 +0900
commitdc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c (patch)
treef1526b6244f01dbc0c5687d4d8cbbc713fd2eaea /src/_dget
parentMerge pull request #694 from syohex/syohex/yarn-add-file-completion (diff)
downloadzsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.tar
zsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.tar.gz
zsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.tar.bz2
zsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.tar.lz
zsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.tar.xz
zsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.tar.zst
zsh-completions-dc00f90ff7e68f066178e6fd3ff8bbfc9b3c2f0c.zip
Complete also package name
Diffstat (limited to 'src/_dget')
-rw-r--r--src/_dget11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/_dget b/src/_dget
index 7460210..d540121 100644
--- a/src/_dget
+++ b/src/_dget
@@ -35,6 +35,7 @@
# -------
#
# * Kris Shannon <k.shannon@amaze.com.au>
+# * Shohei YOSHIDA <syohex@gmail.com>
#
# ------------------------------------------------------------------------------
@@ -55,7 +56,15 @@ _dget() {
'(--no-conf --insecure)--insecure[Do not check SSL certificates when downloading]' \
'(--no-conf --no-cache)--no-cache[Disable server-side HTTP cache]' \
"(--no-conf)--no-conf[Don't read devscripts config files]" \
- '(-)*:debian package urls:_urls'
+ '(-)*:debian package or URL: _alternative "_deb_packages available" "_urls"'
}
_dget "$@"
+
+# Local Variables:
+# mode: Shell-Script
+# sh-indentation: 2
+# indent-tabs-mode: nil
+# sh-basic-offset: 2
+# End:
+# vim: ft=zsh sw=2 ts=2 et