diff options
author | canyonknight <canyonknight@gmail.com> | 2012-01-07 22:12:55 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-08 19:03:28 +0100 |
commit | 24c166f42aab6b28a326e7cdbb3185e101814812 (patch) | |
tree | a9b314716afbf97b2469fc671b4b76d0e80ee9ce | |
parent | a857b9c8e09abc733aa4f32777bdce8dc95858bc (diff) | |
download | pacman-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.in | 4 |
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 |