xrandr: Don't leak $i when completing --mode.
This commit is contained in:
parent
f1100ef25a
commit
d66fc76be6
@ -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]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user