summaryrefslogtreecommitdiffstats
path: root/contrib/zsh_completion
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-18 05:18:10 +0100
committerDan McGee <dan@archlinux.org>2010-02-28 23:17:54 -0600
commitd85421ec62cdcd0b4b1f162b9908dc3eb0b704b4 (patch)
tree056a065c0ca2fdad52352c7196bcb7ec4d1dfe3f /contrib/zsh_completion
parentafb61bb22a9478ec076f77ff0e102e81763191e7 (diff)
downloadpacman-d85421ec62cdcd0b4b1f162b9908dc3eb0b704b4.tar.xz
contrib/*_completion: match *.pkg.tar.*
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/zsh_completion')
-rw-r--r--contrib/zsh_completion8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/zsh_completion b/contrib/zsh_completion
index 2f43d9b2..01b3c443 100644
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -32,7 +32,7 @@ _pacman_opts_common=(
_pacman_opts_pkgfile=(
'-d[Skip dependency checks]'
'-f[Overwrite conflicting files]'
- '*:package file:_files -g "*.pkg.tar.gz(.)"'
+ '*:package file:_files -g "*.pkg.tar.*(.)"'
)
# options for passing to _arguments: subactions for --query command
@@ -120,7 +120,7 @@ _pacman_action_query() {
_arguments -s : \
"$_pacman_opts_common[@]" \
"$_pacman_opts_query_modifiers[@]" \
- '*:package file:_files -g "*.pkg.tar.gz"'
+ '*:package file:_files -g "*.pkg.tar.*"'
;;
query_group)
_arguments -s : \
@@ -295,11 +295,11 @@ _pacman() {
"$_pacman_opts_query_modifiers[@]" \
'*:package file:_files'
;;
- -Q*p*) # file *.pkg.tar.gz
+ -Q*p*) # file *.pkg.tar.*
_arguments -s : \
"$_pacman_opts_common[@]" \
"$_pacman_opts_query_modifiers[@]" \
- '*:package file:_files -g "*.pkg.tar.gz"'
+ '*:package file:_files -g "*.pkg.tar.*"'
;;
-Q*) _pacman_action_query ;;
-R*) _pacman_action_remove ;;