summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-11-01 19:18:54 +0200
committerVille Skyttä <ville.skytta@iki.fi>2011-11-01 19:18:54 +0200
commit8890abfdfb716692bf1242ac6d2701160ffc5ee6 (patch)
tree00799efe47938323fd26a85ee76fa5dc2a6201a4
parent2a88af018edba97035dcf94fa42498826ec60e52 (diff)
downloadbash-completion-8890abfdfb716692bf1242ac6d2701160ffc5ee6.tar.gz
unzip, jar: Complete on *.sar (JBoss service archive).
-rw-r--r--bash_completion2
-rw-r--r--completions/jar2
2 files changed, 2 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion
index 6d119ecb..6bc2afe2 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 84d3e30e..48517bda 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