[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-10-ge2e64a1

Ville Skyttä ville.skytta at iki.fi
Sun Jul 8 21:05:17 UTC 2012


The following commit has been merged in the master branch:
commit 7c7b5608c8505633aa55e106f98d2a943937d41a
Author: Jeroen Hoek <mail at jeroenhoek.nl>
Date:   Sat Jul 7 12:02:05 2012 +0200

    Add support for OOXML document format extensions to unzip completion.

diff --git a/bash_completion b/bash_completion
index 2a41208..f4ebb45 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1847,7 +1847,8 @@ _install_xspec()
 }
 # bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: #455510
 _install_xspec '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat lbunzip2 lbzcat
-_install_xspec '!*.@(zip|[ejsw]ar|exe|pk3|wsz|zargo|xpi|sxw|ot[tspgfc]|od[tspgfcm]|oxt|epub|apk)' unzip zipinfo
+# All ODF and OOXML office format files are zip-archives. See Ubuntu: #675987 for the rationale for including them.
+_install_xspec '!*.@(zip|[ejsw]ar|exe|pk3|wsz|zargo|xpi|sxw|ot[tspgfc]|od[tspgfcm]|oxt|epub|apk|dot[xm]|doc[xm]|p[op]tx|p[op]tm|xlt[xm]|xls[xm])' unzip zipinfo
 _install_xspec '*.Z' compress znew
 # zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
 _install_xspec '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat unpigz

-- 
bash-completion



More information about the Bash-completion-commits mailing list