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

    xrandr: Don't leak $i when completing --mode.

diff --git a/completions/xrandr b/completions/xrandr
index 332be81..3b89f0c 100644
--- a/completions/xrandr
+++ b/completions/xrandr
@@ -14,6 +14,7 @@ _xrandr()
             return
             ;;
         --mode)
+            local i
             for(( i = 1; i < cword; i++ )); do
                 if [[ "${words[i]}" == --output ]]; then
                     output=${words[i+1]}

-- 
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