Add completion for xine front-ends, plus kplayer/mplayer (patch by Ville
Skyttä <ville.skytta@iki.fi>).
This commit is contained in:
parent
98124576cf
commit
dd1a5a8397
@ -1,6 +1,6 @@
|
||||
# bash_completion - programmable completion functions for bash 3.0
|
||||
#
|
||||
# $Id: bash_completion,v 1.815 2005/07/12 19:13:02 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.816 2005/07/19 06:28:48 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -91,8 +91,8 @@ complete -f -X '!*.@(pdf|PDF)' acroread gpdf xpdf kpdf
|
||||
complete -f -X '!*.@(?(e)ps|?(E)PS)' ps2pdf
|
||||
complete -f -X '!*.texi*' makeinfo texi2html
|
||||
complete -f -X '!*.@(?(la)tex|?(LA)TEX|texi|TEXI|dtx|DTX|ins|INS)' tex latex slitex jadetex pdfjadetex pdftex pdflatex texi2dvi
|
||||
complete -f -X '!*.@(mp3|MP3|m3u)' mpg123 mpg321
|
||||
complete -f -X '!*.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|vcd|ps|pes|fli|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp3|MP3|ogg|OGG|ogm|OGM|mp4|MP4|wav|WAV|asx|ASX)' xine
|
||||
complete -f -X '!*.@(mp3|MP3)' mpg123 mpg321 madplay
|
||||
complete -f -X '!*.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|vcd|ps|pes|fli|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp3|MP3|ogg|OGG|ogm|OGM|mp4|MP4|wav|WAV|asx|ASX)' xine aaxine fbxine kaffeine
|
||||
complete -f -X '!*.@(avi|asf|wmv)' aviplay
|
||||
complete -f -X '!*.@(rm?(j)|ra?(m)|smi?(l))' realplay
|
||||
complete -f -X '!*.@(mpg|mpeg|avi|mov|qt)' xanim
|
||||
@ -5687,7 +5687,7 @@ _mplayer()
|
||||
|
||||
return 0
|
||||
}
|
||||
complete $filenames -F _mplayer mplayer mencoder gmplayer
|
||||
complete $filenames -F _mplayer mplayer mencoder gmplayer kplayer
|
||||
}
|
||||
|
||||
# KDE dcop completion
|
||||
|
Loading…
x
Reference in New Issue
Block a user