[Bash-completion-commits] [SCM] bash-completion branch, master, updated. e9393a96f79e5339499477019793a5a08ffa3177

Ville Skyttä ville.skytta at iki.fi
Thu Jan 27 19:59:02 UTC 2011


The following commit has been merged in the master branch:
commit e9393a96f79e5339499477019793a5a08ffa3177
Author: Igor Murzov <igor at gplsoft.org>
Date:   Wed Jan 26 02:08:29 2011 +0300

    Add completion for mplayer's -noconfig option

diff --git a/completions/mplayer b/completions/mplayer
index de1aea5..3971137 100644
--- a/completions/mplayer
+++ b/completions/mplayer
@@ -237,6 +237,10 @@ _mplayer()
             COMPREPLY=( $( compgen -W 'force= list=' -- "$cur" ) )
             return 0
             ;;
+        -noconfig)
+            COMPREPLY=( $( compgen -W 'all gui system user' -- "$cur" ) )
+            return 0
+            ;;
     esac
 
     case $cur in

-- 
bash-completion



More information about the Bash-completion-commits mailing list