More extensions for MPlayer (patch by Aaron Walker <ka0ttic@gentoo.org>).

This commit is contained in:
ianmacd 2005-07-11 21:38:42 +00:00
parent 4586739b50
commit a3c203ac4d

View File

@ -1,6 +1,6 @@
# bash_completion - programmable completion functions for bash 3.0
#
# $Id: bash_completion,v 1.803 2005/07/11 23:36:59 ianmacd Exp $
# $Id: bash_completion,v 1.804 2005/07/11 23:38:42 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -5359,7 +5359,7 @@ _mplayer()
return 0
;;
-audiofile)
_filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV)'
_filedir '@(mp3|MP3|mpg|MPG|ogg|OGG|wav|WAV|mid|MID)'
return 0
;;
-font)
@ -5651,7 +5651,7 @@ _mplayer()
-xvidencopts -of --verbose' -- $cur) )
;;
*)
_filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DVrmvb|RMVB)'
_filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fli|FLI|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[34]|MP[34]|og[gm]|OG[GM]|wav|WAV|dump|DUMP|mkv|MKV|m4a|M4A|aac|AAC|m2v|M2V|dv|DV|rmvb|RMVB|mid|MID|ts|TS)'
;;
esac