about summary refs log tree commit diff
path: root/Completion/Unix/Command/_whois
diff options
context:
space:
mode:
authorEric Cook <illua@users.sourceforge.net>2017-12-25 21:15:24 -0500
committerEric Cook <illua@users.sourceforge.net>2018-01-02 14:38:03 -0500
commit99cf61fd4211dcb99142f683230947481c05eb93 (patch)
treec834f5f0880cc6b5dbafed2828e3800b235c7506 /Completion/Unix/Command/_whois
parent3c24adb2edcf8c7cd36e7bb90add9611f37f48d4 (diff)
downloadzsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.gz
zsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.xz
zsh-99cf61fd4211dcb99142f683230947481c05eb93.zip
42171: prevent parameters of various parameters from becoming global
Diffstat (limited to 'Completion/Unix/Command/_whois')
-rw-r--r--Completion/Unix/Command/_whois1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_whois b/Completion/Unix/Command/_whois
index 2dd04f9cd..a8180f60e 100644
--- a/Completion/Unix/Command/_whois
+++ b/Completion/Unix/Command/_whois
@@ -1,6 +1,7 @@
 #compdef whois fwhois
 
 _whois () {
+  local _whois_comp
   _whois_setup
   case "$0" in
   fwhois) _whois_fwhois;;