about summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-13 14:27:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-13 14:27:37 +0000
commitaadd07e05f18a41e44129cbbb1b37796a54a685f (patch)
treed255d406f0099d70e992c05366713182b318177d /Functions/Misc
parent627c7db0e5c891c0878558e14b60f187009b5001 (diff)
downloadzsh-aadd07e05f18a41e44129cbbb1b37796a54a685f.tar.gz
zsh-aadd07e05f18a41e44129cbbb1b37796a54a685f.tar.xz
zsh-aadd07e05f18a41e44129cbbb1b37796a54a685f.zip
zcalc completion idiosyncracies with :!
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/zcalc4
1 files changed, 2 insertions, 2 deletions
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
     ;;