From 347a63da0cf1c681ac97c21a107b4722abf449b2 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Thu, 13 Jun 2013 18:40:36 +0100
Subject: 31465: fix basic completion and globbing uses of disabled patterns
---
Completion/compinit | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'Completion')
diff --git a/Completion/compinit b/Completion/compinit
index 7b8a34619..f9d2c574c 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -163,8 +163,9 @@ _comp_options=(
typeset -g _comp_setup='local -A _comp_caller_options;
_comp_caller_options=(${(kv)options[@]});
- setopt localoptions localtraps ${_comp_options[@]};
+ setopt localoptions localtraps localpatterns ${_comp_options[@]};
local IFS=$'\'\ \\t\\r\\n\\0\''
+ enable -p \| \~ \( \? \* \[ \< \^ \#
exec