From d66fc76be6058098d98e07e049db92079268dc0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 2 Feb 2013 19:39:20 +0200 Subject: xrandr: Don't leak $i when completing --mode. --- completions/xrandr | 1 + 1 file changed, 1 insertion(+) diff --git a/completions/xrandr b/completions/xrandr index 332be812..3b89f0c1 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]} -- cgit v1.2.1