[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-34-g0ae464e
Ville Skyttä
ville.skytta at iki.fi
Sun Mar 20 16:24:51 UTC 2011
The following commit has been merged in the master branch:
commit 91c13f0eed431e2c741d022cd9345cd42b9f9e11
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Mar 20 17:11:39 2011 +0200
Fix completion of files inside *.tar.bz2 archives when [Ijy] is not given.
diff --git a/CHANGES b/CHANGES
index c1cf964..d18486e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,7 +2,7 @@ bash-completion (2.x)
[ Ville Skyttä ]
* Add reptyr completion.
- * Improve aspell, gendiff, and smartctl completions.
+ * Improve aspell, gendiff, smartctl, and tar completions.
* Try harder to find the correct perl executable to run the perl helper with.
* Drop rpm query support for rpm < 4.1.
* Split rpm and rpmbuild completions and improve them both.
diff --git a/completions/tar b/completions/tar
index a5c0249..8ef4aa6 100644
--- a/completions/tar
+++ b/completions/tar
@@ -20,7 +20,7 @@ _tar()
;;
+([^IZzJjy])f)
ext='@(@(tar|gem|spkg)?(.@(Z|[gx]z|bz?(2)|lzma))|t@([glx]z|bz?(2)))'
- regex='\(\(tar\|gem\|spkg\)\(\.\(Z\|[gx]z\|bz?(2)\|lzma\)\)\?\|t\([glx]z\|bz2\?\)\)'
+ regex='\(\(tar\|gem\|spkg\)\(\.\(Z\|[gx]z\|bz2\?\|lzma\)\)\?\|t\([glx]z\|bz2\?\)\)'
;;
*[Zz]*f)
ext='@(t?(ar.)|gem.|spkg.)@(gz|Z)'
--
bash-completion
More information about the Bash-completion-commits
mailing list