From 2516da75a91f1daead579c5c5004d89ff9e33a3f Mon Sep 17 00:00:00 2001 From: oxiedi Date: Tue, 14 Jul 2020 21:45:09 +0500 Subject: [PATCH] github #61: _parameters: Don't leak the variable $i --- ChangeLog | 5 +++++ Completion/Zsh/Type/_parameters | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a5c11292d..c0a277324 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-07-14 oxiedi + + * github #61: Completion/Zsh/Type/_parameters: Don't leak the + variable $i + 2020-07-13 Daniel Shahaf * 46240: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, diff --git a/Completion/Zsh/Type/_parameters b/Completion/Zsh/Type/_parameters index eaad3ca9d..207e5cf78 100644 --- a/Completion/Zsh/Type/_parameters +++ b/Completion/Zsh/Type/_parameters @@ -6,7 +6,7 @@ # If you specify a -g option with a pattern, the pattern will be used to # restrict the type of parameters matched. -local expl pattern fakes faked tmp pfilt +local expl pattern fakes faked tmp i pfilt if compset -P '*:'; then _history_modifiers p