Revert "Get mencoder profile completions from mencoder.conf, thanks to Droz Raphaël."

This reverts commit cd58fa033e2e441df74876a07e9a4e9dddb0cba3.
This commit is contained in:
Ville Skyttä 2009-03-28 11:37:27 +02:00
parent cd58fa033e
commit 6e28f86ac9
2 changed files with 1 additions and 4 deletions

View File

@ -6085,9 +6085,7 @@ _mplayer()
return 0
;;
-profile)
local pfile=config
[[ "$cmd" == 'mencoder' ]] && pfile=mencoder.conf
local profiles=$(sed -ne 's|\[\(.*\)\]|\1|p' ~/.mplayer/$pfile 2>/dev/null)
local profiles=$(sed -ne 's|\[\(.*\)\]|\1|p' ~/.mplayer/config)
COMPREPLY=( $( compgen -W "$profiles" -- $cur))
return 0
;;

1
debian/changelog vendored
View File

@ -148,7 +148,6 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
* Simplify bash_completion.sh, return earlier in non-applicable environments.
* Remove obsolete --buildarch and --buildos rpm(build) completions.
* Add rpmbuild --target completion.
* Get mencoder profile completions from mencoder.conf, thanks to Droz Raphaël
[ Freddy Vulto ]
* Restored `_display()' completion for `display' by removing