Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Completion: _bts: Fix quoting of $DEBEMAIL.



---
 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



Messages sorted by: Reverse Date, Date, Thread, Author