[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-488-gce128e7

Ville Skyttä ville.skytta at iki.fi
Tue Nov 1 17:20:26 UTC 2011


The following commit has been merged in the master branch:
commit 8890abfdfb716692bf1242ac6d2701160ffc5ee6
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Nov 1 19:18:54 2011 +0200

    unzip, jar: Complete on *.sar (JBoss service archive).

diff --git a/bash_completion b/bash_completion
index 6d119ec..6bc2afe 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1767,7 +1767,7 @@ _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|[ejw]ar|exe|pk3|wsz|zargo|xpi|sxw|o[tx]t|od[fgpst]|epub|apk)' unzip zipinfo
+_install_xspec '!*.@(zip|[ejsw]ar|exe|pk3|wsz|zargo|xpi|sxw|o[tx]t|od[fgpst]|epub|apk)' 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
diff --git a/completions/jar b/completions/jar
index 84d3e30..48517bd 100644
--- a/completions/jar
+++ b/completions/jar
@@ -15,7 +15,7 @@ _jar()
             _filedir
             ;;
         *f)
-            _filedir '@([ejw]ar|zip|apk)'
+            _filedir '@([ejsw]ar|zip|apk)'
             ;;
         *)
             _filedir

-- 
bash-completion



More information about the Bash-completion-commits mailing list