[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-117-gba50a54

Ville Skyttä ville.skytta at iki.fi
Sat Feb 2 18:09:44 UTC 2013


The following commit has been merged in the master branch:
commit ba50a546418d88cfc45653cb1e91b43764eb9a3b
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list