Invoke the actual mplayer/mencoder command being completed (with full path) to get various completions instead of simply "mplayer" or "mencoder".
This commit is contained in:
parent
ab36c8d29d
commit
8b2416c180
2
CHANGES
2
CHANGES
@ -88,6 +88,8 @@ bash-completion (1.x)
|
|||||||
* Improve rpm group completion (displayed completions are still wrong).
|
* Improve rpm group completion (displayed completions are still wrong).
|
||||||
* Change many completions to load in memory only if the completed commands
|
* Change many completions to load in memory only if the completed commands
|
||||||
are available.
|
are available.
|
||||||
|
* Invoke the actual mplayer/mencoder command being completed (with full path)
|
||||||
|
to get various completions instead of simply "mplayer" or "mencoder".
|
||||||
|
|
||||||
[ Todd Zullinger ]
|
[ Todd Zullinger ]
|
||||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||||
|
@ -23,11 +23,11 @@ _mplayer()
|
|||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
-@(ac|afm|vc|vfm|ao|vo|vop|fstype|demuxer|vf|af))
|
-@(ac|afm|vc|vfm|ao|vo|vop|fstype|demuxer|vf|af))
|
||||||
_mplayer_options_list mplayer $prev
|
_mplayer_options_list $cmd $prev
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-@(oac|ovc|of))
|
-@(oac|ovc|of))
|
||||||
_mplayer_options_list mencoder $prev
|
_mplayer_options_list $cmd $prev
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-audiofile)
|
-audiofile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user