- apparently, vim can edit .gz and .bz2 files, so don't exclude these from

the completion list
This commit is contained in:
ianmacd 2002-07-29 04:48:29 +00:00
parent ca5a00e545
commit f2b45d5138

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.391 2002/07/29 06:44:37 ianmacd Exp $ # $Id: bash_completion,v 1.392 2002/07/29 06:48:29 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -73,7 +73,7 @@ complete -f -X '!*.@(ogg|OGG)' ogg123
complete -f -X '!*.@(mp3|MP3|ogg|OGG|pls|m3u)' xmms gqmpeg freeamp complete -f -X '!*.@(mp3|MP3|ogg|OGG|pls|m3u)' xmms gqmpeg freeamp
complete -f -X '!*.fig' xfig complete -f -X '!*.fig' xfig
complete -f -X '!*.@(mid?(i))' timidity playmidi 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|ogg|OGG)' vi vim emacs complete -f -X '*.@(o|so|so.*|a|tar|tgz|tbz2|rpm|zip|ZIP|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mpg|MPG|avi|AVI|asf|ASF|ogg|OGG)' vi vim emacs
complete -f -X '!*.@(exe|EXE|com|COM|scr|SCR)' wine complete -f -X '!*.@(exe|EXE|com|COM|scr|SCR)' wine
complete -f -X '!*.@(zip|ZIP|z|Z|gz|GZ|tgz|TGZ)' bzme complete -f -X '!*.@(zip|ZIP|z|Z|gz|GZ|tgz|TGZ)' bzme
complete -f -X '!*.@(htm?(l))' netscape mozilla lynx wget opera w3m galeon links curl dillo complete -f -X '!*.@(htm?(l))' netscape mozilla lynx wget opera w3m galeon links curl dillo