From 7c7b5608c8505633aa55e106f98d2a943937d41a Mon Sep 17 00:00:00 2001 From: Jeroen Hoek Date: Sat, 7 Jul 2012 12:02:05 +0200 Subject: [PATCH] Add support for OOXML document format extensions to unzip completion. --- bash_completion | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index 2a41208b..f4ebb450 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