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).
|
||||
* Change many completions to load in memory only if the completed commands
|
||||
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 ]
|
||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||
|
@ -23,11 +23,11 @@ _mplayer()
|
||||
|
||||
case "$prev" in
|
||||
-@(ac|afm|vc|vfm|ao|vo|vop|fstype|demuxer|vf|af))
|
||||
_mplayer_options_list mplayer $prev
|
||||
_mplayer_options_list $cmd $prev
|
||||
return 0
|
||||
;;
|
||||
-@(oac|ovc|of))
|
||||
_mplayer_options_list mencoder $prev
|
||||
_mplayer_options_list $cmd $prev
|
||||
return 0
|
||||
;;
|
||||
-audiofile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user