summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_all_labels2
-rw-r--r--Completion/Core/_next_label2
2 files changed, 2 insertions, 2 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%:*}"
diff --git a/Completion/Core/_next_label b/Completion/Core/_next_label
index ca40d9a33..48845229a 100644
--- a/Completion/Core/_next_label
+++ b/Completion/Core/_next_label
@@ -9,7 +9,7 @@ fi
 
 if comptags -A "$1" curtag __spec; then
   _comp_tags="$_comp_tags $__spec "
-  if [[ "$curtag" = *:* ]]; then
+  if [[ "$curtag" = *[^\\]:* ]]; then
     zformat -f __descr "${curtag#*:}" "d:$3"
     _description "$__gopt" "${curtag%:*}" "$2" "$__descr"
     curtag="${curtag%:*}"