Subject: [PATCH] Completion: _bts: Fix quoting of $DEBEMAIL.
From: Daniel Shahaf <[email-masked]>
To: [email-masked]
Date: Tue, 9 Feb 2016 03:22:14 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

---
 Completion/Debian/Command/_bts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts
index 9f1f77b..941358b 100644
--- a/Completion/Debian/Command/_bts
+++ b/Completion/Debian/Command/_bts
@@ -42,7 +42,7 @@ case "$words[1]" in
     if [[ CURRENT -eq 2 ]]; then
       _alternative \
 	'packages:package:_deb_packages avail' \
-        "emails:package maintainer:compadd $DEBEMAIL"
+        'emails:package maintainer:compadd $DEBEMAIL'
     else
       _wanted sep expl 'separator' compadd -S ' ' , .
     fi
@@ -51,7 +51,7 @@ case "$words[1]" in
     if [[ CURRENT -eq 2 ]]; then
       _message -e bugnum 'bug number'
     elif [[ CURRENT -eq 3 ]]; then
-      _wanted submitter expl 'new submitter' compadd $DEBEMAIL
+      _wanted submitter expl 'new submitter' compadd -- $DEBEMAIL
     else
       _wanted sep expl 'separator' compadd -S ' ' , .
     fi