- unzip and zipinfo now recognise the .wsz extension (used for Winzip skin

files and xmms)
This commit is contained in:
ianmacd 2002-06-09 06:38:04 +00:00
parent f54f7f7bd6
commit 7c16b7956d

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a # bash_completion - some programmable completion functions for bash 2.05a
# #
# $Id: bash_completion,v 1.351 2002/06/09 08:35:56 ianmacd Exp $ # $Id: bash_completion,v 1.352 2002/06/09 08:38:04 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -52,7 +52,7 @@ complete -d pushd
# #
# START exclude -- do NOT remove this line # START exclude -- do NOT remove this line
complete -f -X '!*.bz2' bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep complete -f -X '!*.bz2' bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep
complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war)' unzip zipinfo complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz)' unzip zipinfo
complete -f -X '*.Z' compress znew complete -f -X '*.Z' compress znew
complete -f -X '!*.@(Z|gz|tgz|Gz)' gunzip zcmp zdiff zcat zegrep zfgrep zgrep zless zmore complete -f -X '!*.@(Z|gz|tgz|Gz)' gunzip zcmp zdiff zcat zegrep zfgrep zgrep zless zmore
complete -f -X '!*.Z' uncompress complete -f -X '!*.Z' uncompress