The following commit has been merged in the master branch:
commit ba50a546418d88cfc45653cb1e91b43764eb9a3b
Author: Ville Skyttä <[email protected]>
Date:   Sat Feb 2 20:08:57 2013 +0200

    xrandr: Add bunch of option arg non-completions.

diff --git a/completions/xrandr b/completions/xrandr
index d17fb29..cef0941 100644
--- a/completions/xrandr
+++ b/completions/xrandr
@@ -6,6 +6,11 @@ _xrandr()
     _init_completion || return
 
     case "$prev" in
+        -display|-d|-help|-s|--size|-r|--rate|--refresh|--screen|--fb|--fbmm|\
+        --dpi|--pos|--set|--scale|--transform|--crtc|--panning|--gamma|\
+        --newmode|--rmmode|--addmode|--delmode)
+            return
+            ;;
         --output|--left-of|--right-of|--above|--below|--same-as)
             local outputs=$( xrandr | awk '/connected/ {print $1}' )
             COMPREPLY=( $( compgen -W "$outputs" -- "$cur" ) )

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to