diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2012-02-10 17:09:05 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2012-02-10 17:09:05 +0000 |
commit | c5fce37bced3c516bfb47cb84f336598fc26b277 (patch) | |
tree | 8636c3ef1f60f92348177a2916781e36fc8b3656 /Completion/Debian | |
parent | 32eb4faf7c4295d029533ff85473894887f2bc36 (diff) | |
download | zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.gz zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.xz zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.zip |
30199: add (-.) to many completion _files globs
Diffstat (limited to 'Completion/Debian')
-rw-r--r-- | Completion/Debian/Command/_dak | 8 | ||||
-rw-r--r-- | Completion/Debian/Command/_debdiff | 6 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpkg | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_linda | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_lintian | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_pbuilder | 4 | ||||
-rw-r--r-- | Completion/Debian/Command/_piuparts | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/Completion/Debian/Command/_dak b/Completion/Debian/Command/_dak index 63bf2d06e..5aaaeefbc 100644 --- a/Completion/Debian/Command/_dak +++ b/Completion/Debian/Command/_dak @@ -137,7 +137,7 @@ case $cmd in (clean-proposed-updates) args+=( '(-v --verbose)'{-v,--verbose}'[be more verbose about what is being done]' - '*:changes or admin file:_files -g "*.(changes|joey)"' + '*:changes or admin file:_files -g "*.(changes|joey)(-.)"' ) ;; @@ -151,7 +151,7 @@ case $cmd in args+=( '(-q --quiet)'{-q,--quiet}'[be quieter about what is being done]' '(-v --verbose)'{-v,--verbose}'[be more verbose about what is being done]' - '*:changes or deb or admin file:_files -g "*.(changes|deb|joey)"' + '*:changes or deb or admin file:_files -g "*.(changes|deb|joey)(-.)"' ) ;; @@ -186,7 +186,7 @@ case $cmd in (decode-dot-dak) args+=( - '*:dot-dak file:_files -g "*.dak"' + '*:dot-dak file:_files -g "*.dak(-.)"' ) ;; @@ -222,7 +222,7 @@ case $cmd in args+=( '(-m --message)'{-m,--message=}'[use this message for rejection]:message:' '(-s --no-mail)'{-s,--no-mail}'[do not send any mail]' - '*:changes file:_files -g "*.changes"' + '*:changes file:_files -g "*.changes(-.)"' ) ;; diff --git a/Completion/Debian/Command/_debdiff b/Completion/Debian/Command/_debdiff index de7b9b9c8..6f8519a4a 100644 --- a/Completion/Debian/Command/_debdiff +++ b/Completion/Debian/Command/_debdiff @@ -17,6 +17,6 @@ _arguments \ '(-h --help)'{-h,--help}'[show help]' \ '(-v --version)'{-v,--version}'[show version]' \ '(-q --quiet)'{-q,--quiet}'[be quiet if no differences]' \ - '--from:debs:_files -g "*.deb"' \ - '--to:debs:_files -g "*.deb"' \ - '*:file to compare:_files -g "*.(deb|changes|dsc)"' + '--from:debs:_files -g "*.deb(-.)"' \ + '--to:debs:_files -g "*.deb(-.)"' \ + '*:file to compare:_files -g "*.(deb|changes|dsc)(-.)"' diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index e251fbc38..bdb6d5b25 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -73,7 +73,7 @@ _dpkg_options=( _dpkg_options_recursive=( '(--recursive -R)'{--recursive,-R}'[recursive]' ) _dpkg_deb_and_query_only_actions=( - '(--show -W)'{--show,-W}'[show package info]:Debian package:_files -g \*.u\#deb' + '(--show -W)'{--show,-W}'[show package info]:Debian package:_files -g \*.u\#deb(-.)' ) _dpkg_deb_and_query_only_options=( diff --git a/Completion/Debian/Command/_linda b/Completion/Debian/Command/_linda index d428d18a8..12ca72f3e 100644 --- a/Completion/Debian/Command/_linda +++ b/Completion/Debian/Command/_linda @@ -23,4 +23,4 @@ _arguments \ '(-U --unpack)'{-U,--unpack}':unpack level:' \ '(-v --verbose)'{-v,--verbose}'[verbose]' \ '(-V --version)'{-V,--version}'[version]' \ - ':package:_files -g "*.(changes|u#deb|dsc)"' + ':package:_files -g "*.(changes|u#deb|dsc)(-.)"' diff --git a/Completion/Debian/Command/_lintian b/Completion/Debian/Command/_lintian index 478d77a63..554be4550 100644 --- a/Completion/Debian/Command/_lintian +++ b/Completion/Debian/Command/_lintian @@ -38,7 +38,7 @@ case "$service" in '(-s --source)'{-s,--source}'[the following packages are source]' \ '--udeb[the following packages are udebs]' \ '(-p --packages-file)'{-p,--packages-file}'[process packages listed in file]:list:_files' \ - '*:package:_files -g "*.(changes|deb|dsc)"' && return 0 + '*:package:_files -g "*.(changes|deb|dsc)(-.)"' && return 0 ;; (lintian-info) diff --git a/Completion/Debian/Command/_pbuilder b/Completion/Debian/Command/_pbuilder index 225744f23..7811d567b 100644 --- a/Completion/Debian/Command/_pbuilder +++ b/Completion/Debian/Command/_pbuilder @@ -9,7 +9,7 @@ if (( CURRENT == 2 )); then else compset -n 1 _arguments \ - '--basetgz:location:_files -g "*.tgz"' \ + '--basetgz:location:_files -g "*.tgz(-.)"' \ '--buildplace:location:_files -/' \ '--buildresult:location:_files -/' \ '--mirror:URL:_urls' \ @@ -28,5 +28,5 @@ else '--save-after-login' \ '--save-after-exec' \ '--autocleanaptcache' \ - '*:source package:_files -g "*.dsc"' + '*:source package:_files -g "*.dsc(-.)"' fi diff --git a/Completion/Debian/Command/_piuparts b/Completion/Debian/Command/_piuparts index 83e9ef115..a1b6666a3 100644 --- a/Completion/Debian/Command/_piuparts +++ b/Completion/Debian/Command/_piuparts @@ -24,7 +24,7 @@ case "$state" in if (( $+opt_args[-a] )); then _deb_packages avail else - _files -g '*.deb' + _files -g '*.deb(-.)' fi ;; esac |