1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

zcalc completion idiosyncracies with :!

This commit is contained in:
Peter Stephenson 2008-06-13 14:27:37 +00:00
parent 627c7db0e5
commit aadd07e05f
2 changed files with 8 additions and 10 deletions

View file

@ -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
;;