summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-01-07 22:12:55 +0100
committerDan McGee <dan@archlinux.org>2012-01-08 19:03:28 +0100
commit24c166f42aab6b28a326e7cdbb3185e101814812 (patch)
treea9b314716afbf97b2469fc671b4b76d0e80ee9ce
parenta857b9c8e09abc733aa4f32777bdce8dc95858bc (diff)
downloadpacman-24c166f42aab6b28a326e7cdbb3185e101814812.tar.gz
pacman-24c166f42aab6b28a326e7cdbb3185e101814812.tar.xz
Fix bash completion for *.pkg.tar
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--contrib/bash_completion.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index 78bde21d..d9e0c785 100644
--- a/contrib/bash_completion.in
+++ b/contrib/bash_completion.in
@@ -113,12 +113,12 @@ _pacman() {
if [[ $(type -t compopt) = "builtin" ]]; then
_pacman_file() {
- compopt -o filenames; _filedir 'pkg.tar.*'
+ compopt -o filenames; _filedir 'pkg.tar*'
}
complete -F _pacman -o default pacman
else
_pacman_file() {
- _filedir 'pkg.tar.*'
+ _filedir 'pkg.tar*'
}
complete -F _pacman -o filenames -o default pacman
fi