From 24c166f42aab6b28a326e7cdbb3185e101814812 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Sat, 7 Jan 2012 16:12:55 -0500 Subject: Fix bash completion for *.pkg.tar Signed-off-by: canyonknight Signed-off-by: Dan McGee --- contrib/bash_completion.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') 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 -- cgit v1.2.3-24-g4f1b