summaryrefslogtreecommitdiffstats
path: root/contrib/bash_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/bash_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/bash_completion')
-rw-r--r--contrib/bash_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion
index 62e5bc95..a231eb69 100644
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -321,7 +321,7 @@ _pacman ()
case "${op}" in
U)
COMPREPLY=( $( compgen -d -- "$cur" ) \
- $( compgen -f -X '!*.pkg.tar.gz' -- "$cur" ) )
+ $( compgen -f -X '!*.pkg.tar.*' -- "$cur" ) )
return 0
;;
h|V)
@@ -336,7 +336,7 @@ _pacman ()
$( compgen -f -- "$cur" ) )
elif _instring $mod p; then
COMPREPLY=( $( compgen -d -- "$cur" ) \
- $( compgen -f -X '!*.pkg.tar.gz' -- "$cur" ) )
+ $( compgen -f -X '!*.pkg.tar.*' -- "$cur" ) )
elif _instring $mod u; then
COMPREPLY=''
return 0