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:
parent
627c7db0e5
commit
aadd07e05f
2 changed files with 8 additions and 10 deletions
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue