22 Commits

Author SHA1 Message Date
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
Ville Skyttä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +03:00
Igor Murzov
c1132bd0a3 mplayer: Use the same completions as for mplayer2
Binary of mplayer2 should have name mplayer, but it turns out that at
least Debian packagers prefered to give different name.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631551
2011-06-26 14:39:51 +04:00
Ville Skyttä
0cb6263424 Use _init_completion() in completions/m*. 2011-04-20 22:42:55 +03:00
Ville Skyttä
ee43b22f9b Use += to append to arrays and strings.
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Ville Skyttä
94c51fc36e Coding style consistency tweaks. 2011-04-04 23:48:22 +03:00
Igor Murzov
e9393a96f7 Add completion for mplayer's -noconfig option 2011-01-27 21:39:14 +02:00
David Paleino
c55dfe6982 Complete on all files for mplayer's -dvd-device.
This is because mplayer is able to use a directory as "device" (i.e. if you
  copy a DVD on the harddisk), or even single files (.iso files, for example).
2010-12-18 23:23:59 +01:00
Ville Skyttä
0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Ville Skyttä
f4c5d0c596 Add *.iso to mplayer, kaffeine, and dragon filename completions (Alioth: #311420).
xine-ui doesn't seem to support direct opening of *.iso files, so
split it and fbxine and aaxine from kaffeine and dragon completions.
2010-10-31 19:29:52 +02:00
Ville Skyttä
9aeeeec42a Add *.m2t to mplayer filename completions (Alioth: #312770). 2010-10-17 22:15:50 +03:00
Ville Skyttä
3d8efed618 Fixes to completions for filenames containing tabs (RedHat: #629518). 2010-10-04 20:49:17 +03:00
Ville Skyttä
35ac650e30 Make mplayer -skin completion work with post-2006 versions.
The subdir was "Skin" until 1.0pre8 (Jun 2006), "skins" in and after it.
2010-09-28 19:14:08 +03:00
Ville Skyttä
1a2de64f80 Localize IFS tighter in _mplayer(). 2010-09-28 19:11:54 +03:00
Ville Skyttä
5a254604e7 Add mplayer -subfont completion. 2010-09-28 19:07:01 +03:00
Ville Skyttä
06083c3563 Add Fontconfig patterns to mplayer -font completions. 2010-09-28 19:04:38 +03:00
Ville Skyttä
5134d0ac1d Add mplayer -show-profile completion. 2010-09-28 18:53:33 +03:00
Ville Skyttä
3fbee9ae9e Drop duplicate -demuxer from mplayer option 'case' statement. 2010-09-28 18:52:23 +03:00
Ville Skyttä
729f6c4ea3 Add mplayer -audio-demuxer and -sub-demuxer completions. 2010-09-28 18:52:11 +03:00
Ville Skyttä
7ea7d7b268 Simplify filename completions per new _filedir(_xspec) uppercasing behavior. 2010-09-19 12:29:29 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00