From 0a8c423b364ff6485975642c7f6f28f8b624454d Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Tue, 19 Mar 2002 15:19:58 +0000 Subject: [PATCH] - timidity and playmidi complete on .mid and .midi files --- bash_completion | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bash_completion b/bash_completion index ee56f5c5..448bc253 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05a # -# $Id: bash_completion,v 1.204 2002/03/18 18:12:00 ianmacd Exp $ +# $Id: bash_completion,v 1.205 2002/03/19 16:19:58 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -66,6 +66,7 @@ complete -f -X '!*.@(mpg|mpeg|avi|mov)' xanim complete -f -X '!*.@(ogg|OGG)' ogg123 complete -f -X '!*.@(mp3|MP3|ogg|OGG|pls)' xmms gqmpeg freeamp complete -f -X '!*.fig' xfig +complete -f -X '!*.@(mid?(i))' timidity playmidi # FINISH exclude -- do not remove this line # start of section containing compspecs that can be handled within bash @@ -1548,7 +1549,7 @@ _service() } [ "$have" ] && complete -F _service service -# The beginnings of a completion function for GNU tar(1) +# GNU tar(1) completion # _tar() {