[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-114-g225b395

Ville Skyttä ville.skytta at iki.fi
Sat Feb 2 17:42:31 UTC 2013


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



More information about the Bash-completion-commits mailing list