From 627c7db0e5c891c0878558e14b60f187009b5001 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 13 Jun 2008 14:16:57 +0000 Subject: zcalc completion idiosyncracies with :! --- Functions/Misc/zcalc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions') diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 2ec67a67d..40c829900 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -179,8 +179,8 @@ while vared -cehp "${(%)ZCALCPROMPT}" line; do line="${${line##[[:blank:]]#}%%[[:blank:]]#}" case "$line" in # Escapes begin with a colon - (:!*) - # shell escape + (:(\\|)!*) + # shell escape: handle completion's habit of quoting the ! eval ${line##:\![[:blank:]]#} line= continue -- cgit 1.4.1