about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-02-10 13:53:37 +0100
committerOliver Kiddle <opk@zsh.org>2017-02-10 13:53:37 +0100
commit0829c14cbdda6d6033db6bac9d0bab9852f2cea7 (patch)
tree022020eca22e5d1e5c9c27d2a11f34791e89c1f2
parente007cd9f8853a69a2e313e65a1d04d4e05120243 (diff)
downloadzsh-0829c14cbdda6d6033db6bac9d0bab9852f2cea7.tar.gz
zsh-0829c14cbdda6d6033db6bac9d0bab9852f2cea7.tar.xz
zsh-0829c14cbdda6d6033db6bac9d0bab9852f2cea7.zip
unposted: using a colon in the tag name for lsusb completion was not such a good idea
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_lsusb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ea2a08476..6a1c62fa7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-10  Oliver Kiddle  <opk@zsh.org>
+
+	* unposted: Completion/Linux/Command/_lsusb: using a colon in
+	the tag name was not such a good idea
+
 2017-02-09  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 40510: Misc/vcs_info-examples, README: vcs_info: Update the
diff --git a/Completion/Linux/Command/_lsusb b/Completion/Linux/Command/_lsusb
index 1807f5e93..129309b8b 100644
--- a/Completion/Linux/Command/_lsusb
+++ b/Completion/Linux/Command/_lsusb
@@ -30,6 +30,6 @@ if [[ -n $state && ${+_lsusb_vendors} -eq 0 ]]; then
   done
 fi
 
-_wanted vendors:products expl 'vendor ID:product ID' compadd -k _lsusb_devices && ret=0
+_wanted products expl 'vendor ID:product ID' compadd -k _lsusb_devices && ret=0
 
 return ret