Add *.oxt (OpenOffice.org extension) to unzip/zipinfo completions.

This commit is contained in:
Ville Skyttä 2010-06-06 21:18:57 +03:00
parent 876c8e26c1
commit 9566f5994a
2 changed files with 2 additions and 2 deletions

View File

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

View File

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