summaryrefslogtreecommitdiff
path: root/completions/rpm
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-10-23 19:46:57 +0300
committerVille Skyttä <ville.skytta@iki.fi>2010-10-23 22:32:06 +0300
commitb31530f125689ccb18375536593fb5a73e67afb2 (patch)
tree83e64981f591ab42b9b28c7f7bc090bc8870ef9b /completions/rpm
parent1017b24212af1fedf4f964e426ed2821fc60adb3 (diff)
downloadbash-completion-b31530f125689ccb18375536593fb5a73e67afb2.tar.gz
Add *.tar to rpmbuild -tb filename completions.
Diffstat (limited to 'completions/rpm')
-rw-r--r--completions/rpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/rpm b/completions/rpm
index ee56af8e..9bd19f68 100644
--- a/completions/rpm
+++ b/completions/rpm
@@ -248,7 +248,7 @@ _rpm()
elif [[ ${COMP_WORDS[1]} == -b* ]]; then
_filedir spec
else
- _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
+ _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar?(.@(lzma|Z)))'
fi
;;
--rebuild|--recompile)
@@ -260,7 +260,7 @@ _rpm()
fi
;;
--tarbuild)
- _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
+ _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar?(.@(lzma|Z)))'
;;
--resign|--addsign)
_filedir '[rs]pm'