about summary refs log tree commit diff
diff options
context:
space:
mode:
authoroxiedi <oxiedi@yandex.ru>2020-07-14 21:45:09 +0500
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-07-14 18:16:41 +0000
commit2516da75a91f1daead579c5c5004d89ff9e33a3f (patch)
tree3cd5d6d7c1a31e498bfa883076900e20a1bbd13f
parentfa51a38955d7d2cf4d38c0a74f35f271e338d7c0 (diff)
downloadzsh-2516da75a91f1daead579c5c5004d89ff9e33a3f.tar.gz
zsh-2516da75a91f1daead579c5c5004d89ff9e33a3f.tar.xz
zsh-2516da75a91f1daead579c5c5004d89ff9e33a3f.zip
github #61: _parameters: Don't leak the variable $i
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Zsh/Type/_parameters2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a5c11292d..c0a277324 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-07-14  oxiedi  <oxiedi@yandex.ru>
+
+	* github #61: Completion/Zsh/Type/_parameters: Don't leak the
+	variable $i
+
 2020-07-13  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 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