Skip to content

Commit 9566f59

Browse files
committed
Add *.oxt (OpenOffice.org extension) to unzip/zipinfo completions.
1 parent 876c8e2 commit 9566f59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bash-completion (2.x)
2828
* Remove many unnecessary short option completions where long ones exist.
2929
* Improve chsh, chgrp, chown, configure, curl, cvs, find, gkrellm, gzip,
3030
iconv, lftp, look, lzma, make, man, mdadm, modprobe, mount, mplayer,
31-
mysqladmin, perldoc, rsync, screen, service, scp, ssh, sshfs,
31+
mysqladmin, perldoc, rsync, screen, service, scp, ssh, sshfs, unzip,
3232
update-alternatives, vncviewer, wget, yp-tools, xine based players' and
3333
general hostname completions.
3434
* Add abook and wtf completion, based on work by Raphaël Droz.

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ complete -d pushd
7070
# START exclude -- do NOT remove this line
7171
# bzcmp, bzdiff, bz*grep, bzless, bzmore intentionally not here, see Debian: #455510
7272
complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat
73-
complete -f -X '!*.@(zip|ZIP|[ejw]ar|[EJW]AR|exe|EXE|pk3|wsz|zargo|xpi|sxw|ott|od[fgpst]|epub)' unzip zipinfo
73+
complete -f -X '!*.@(zip|ZIP|[ejw]ar|[EJW]AR|exe|EXE|pk3|wsz|zargo|xpi|sxw|o[tx]t|od[fgpst]|epub)' unzip zipinfo
7474
complete -f -X '*.Z' compress znew
7575
# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
7676
complete -f -X '!*.@(Z|[gGd]z|t[ag]z)' gunzip zcat unpigz

0 commit comments

Comments
 (0)