- add bzme completion (Mandrake)
- unzip & zipinfo also complete on .war files (as used by Tomcat, etc.) (submission from Goetz Waschk <waschk@informatik.uni-rostock.de>)
This commit is contained in:
parent
d5e7243e69
commit
63efd13c16
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05a
|
||||
#
|
||||
# $Id: bash_completion,v 1.330 2002/05/21 00:36:07 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.331 2002/05/21 05:35:40 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -53,7 +53,7 @@ complete -d pushd
|
||||
#
|
||||
# START exclude -- do NOT remove this line
|
||||
complete -f -X '!*.bz2' bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep
|
||||
complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3)' unzip zipinfo
|
||||
complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war)' unzip zipinfo
|
||||
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' uncompress
|
||||
@ -76,6 +76,7 @@ complete -f -X '!*.fig' xfig
|
||||
complete -f -X '!*.@(mid?(i))' timidity playmidi
|
||||
complete -f -X '*.@(o|so|so.*|a|tar|?(t)gz|?(t)bz2|rpm|zip|ZIP|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mpg|MPG|avi|AVI|asf|ASF' vi vim emacs
|
||||
complete -f -X '!*.@(exe|EXE|com|COM)' wine
|
||||
complete -f -X '!*.@(zip|ZIP|z|Z|gz|GZ|tgz|TGZ)' bzme
|
||||
# FINISH exclude -- do not remove this line
|
||||
|
||||
# start of section containing compspecs that can be handled within bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user