unzip now also handles .exe files

This commit is contained in:
ianmacd 2002-01-31 00:35:52 +00:00
parent d169c1f6d9
commit d1dfcfb8aa

View File

@ -2,7 +2,7 @@
#
# <![CDATA[
#
# $Id: bash_completion,v 1.78 2002/01/30 19:48:45 ianmacd Exp $
# $Id: bash_completion,v 1.79 2002/01/31 01:35:52 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -45,7 +45,7 @@ complete -d mkdir rmdir pushd
# the following section lists completions that are redefined later
# START exclude -- do NOT remove this line
complete -f -X '!*.bz2' bunzip2
complete -f -X '!*.+(zip|ZIP|jar|JAR)' unzip
complete -f -X '!*.+(zip|ZIP|jar|JAR|exe|EXE)' unzip
complete -f -X '*.Z' compress
complete -f -X '!*.+(Z|gz|tgz|Gz)' gunzip zcat zmore
complete -f -X '!*.Z' uncompress