From aadd07e05f18a41e44129cbbb1b37796a54a685f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 13 Jun 2008 14:27:37 +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 40c829900..42bb72e2c 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -179,9 +179,9 @@ while vared -cehp "${(%)ZCALCPROMPT}" line; do line="${${line##[[:blank:]]#}%%[[:blank:]]#}" case "$line" in # Escapes begin with a colon - (:(\\|)!*) + (:(\\|)\!*) # shell escape: handle completion's habit of quoting the ! - eval ${line##:\![[:blank:]]#} + eval ${line##:(\\|)\![[:blank:]]#} line= continue ;; -- cgit 1.4.1