about summary refs log tree commit diff
path: root/Completion/Core/_all_labels
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-23 10:39:04 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-03-23 10:39:04 +0000
commita78c8b50a05efc0bc8b4cded184099b962ea6bbc (patch)
tree911c3c421241fcdcef2a9342a0f50770672503a0 /Completion/Core/_all_labels
parent6fc50b05c450aece01983b8b91903d2fb32905d1 (diff)
downloadzsh-a78c8b50a05efc0bc8b4cded184099b962ea6bbc.tar.gz
zsh-a78c8b50a05efc0bc8b4cded184099b962ea6bbc.tar.xz
zsh-a78c8b50a05efc0bc8b4cded184099b962ea6bbc.zip
test if the colon is quoted (13725)
Diffstat (limited to 'Completion/Core/_all_labels')
-rw-r--r--Completion/Core/_all_labels2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_all_labels b/Completion/Core/_all_labels
index cdb89e7fa..8665f5bf3 100644
--- a/Completion/Core/_all_labels
+++ b/Completion/Core/_all_labels
@@ -27,7 +27,7 @@ fi
 
 while comptags "-A$__prev" "$1" curtag __spec; do
   _comp_tags="$_comp_tags $__spec "
-  if [[ "$curtag" = *:* ]]; then
+  if [[ "$curtag" = *[^\\]:* ]]; then
     zformat -f __descr "${curtag#*:}" "d:$3"
     _description "$__gopt" "${curtag%:*}" "$2" "$__descr"
     curtag="${curtag%:*}"